Skip to content

Commit

Permalink
Use canonical URL in venues as URL instead PDF, link PDF at bottom
Browse files Browse the repository at this point in the history
This reflects the changes made to the paper templates earlier, see
commit 0c9ba6a.  Fixes #587 (now for
real, hopefully)
  • Loading branch information
akoehn committed Dec 2, 2019
1 parent 50065e1 commit 418ccea
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion hugo/layouts/volumes/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h2 id="title">
<dt>Publisher:</dt>
<dd>{{ with $paper.publisher }}{{ . }}{{ end }}</dd>
<dt>URL:</dt>
<dd>{{ with $paper.pdf }}<a href="{{ . }}">{{ . }}</a>{{ end }}</dd>
<dd><a href="{{ $paper.url }}">{{ $paper.url }}</a></dd>
<dt>DOI:</dt>
<dd>{{ with $paper.doi }}<a href="http://dx.doi.org/{{ . }}" title="To the current version of the paper by DOI">{{ . }}</a>{{ end }}</dd>
<!--
Expand All @@ -91,6 +91,9 @@ <h2 id="title">
<a class="btn btn-secondary btn-sm" href="{{ $endfile | relURL }}">EndNote</a>
{{ end }}
</dd>
{{ with $paper.pdf }}
<dt>PDF:</dt><dd><a href="{{ . }}">{{ . }}</a></dd>
{{ end }}
</dl>
</div>

Expand Down

0 comments on commit 418ccea

Please sign in to comment.