Skip to content

Commit 3f8a2e9

Browse files
authored
Update single.html
1 parent 41396b9 commit 3f8a2e9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

_layouts/single.html

+13
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,22 @@
3232
{% endif %}
3333
{% if page.modified %}
3434
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Published:" }}</strong> <time datetime="{{ page.modified | date: "%Y-%m-%d" }}">{{ page.modified | date: "%B %d, %Y" }}</time></p>
35+
{% elsif page.venue and page.date %}
36+
<p>Published in <i>{{ page.venue }}</i>, {{ page.date | date: "%Y" }} </p>
3537
{% elsif page.date %}
3638
<p class="page__date"><strong><i class="fa fa-fw fa-calendar" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].date_label | default: "Published:" }}</strong> <time datetime="{{ page.date | date_to_xmlschema }}">{{ page.date | date: "%B %d, %Y" }}</time></p>
3739
{% endif %}
40+
41+
42+
43+
{% if page.citation and page.paperurl %}
44+
<p>Recommended citation: {{ page.citation }} <a href="{{ page.paperurl }}"><u>{{ page.paperurl }}</u></a></p>
45+
{% elsif page.citation %}
46+
<p>Recommended citation: {{ page.citation }} </p>
47+
{% elsif page.paperurl %}
48+
<p>Download <a href=" {{ page.paperurl }} "><u>here</u></a></p>
49+
{% endif %}
50+
3851
</header>
3952
{% endunless %}
4053

0 commit comments

Comments
 (0)