Skip to content

Commit 29841ef

Browse files
authored
Update archive-single.html
1 parent 4809e57 commit 29841ef

File tree

1 file changed

+20
-11
lines changed

1 file changed

+20
-11
lines changed

_includes/archive-single.html

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,20 @@
3939
</style>
4040
</head>
4141

42+
{% if post.citation and post.paperurl and post.slidesurl %}
43+
<p>Recommended citation: {{ post.citation }}<br /><a href="{{ post.paperurl }}">Download Paper</a> | <a href="{{ post.slidesurl }}">Download Slides</a></p>
44+
{% elsif post.citation and post.paperurl %}
45+
<p>Recommended citation: {{ post.citation }}<br /><a href="{{ post.paperurl }}">Download Paper</a></p>
46+
{% elsif post.citation and post.slidesurl %}
47+
<p>Recommended citation: {{ post.citation }}<br /><a href="{{ post.slidesurl }}">Download Slides</a></p>
48+
{% elsif post.citation %}
49+
<p>Recommended citation: {{ post.citation }}</p>
50+
{% elsif post.paperurl %}
51+
<p><a href=" {{ post.paperurl }} ">Download Paper</a></p>
52+
{% elsif post.slidesurl %}
53+
<p><a href="{{ post.slidesurl }}">Download Slides</a></p>
54+
{% endif %}
55+
4256
<div class="{{ include.type | default: "list" }}__item">
4357
<article>
4458
<!-- paper table -->
@@ -51,17 +65,12 @@
5165
<h2>{{title}}</h2>
5266
<p> {{post.authors}} </p>
5367
<!-- <a class="w3-button btn w3-white w3-text-blue w3-border" href="https://simple-bev.github.io/">project page</a> -->
54-
{% if post.paperurl %}
55-
<p><a href="{{post.paperurl}}">[paper]</a></p>
56-
(% endif %)
57-
{% if post.codeurl %}
58-
<p><a href="{{post.codeurl}}">[paper]</a></p>
59-
(% endif %)
60-
{% if post.arxivurl %}
61-
<p><a href="{{post.arxivurl}}">[paper]</a></p>
62-
(% endif %)
63-
{% if post.biburl %}
64-
<p><a href="{{post.biburl}}">[paper]</a></p>
68+
{% if post.paperurl and post.codeurl and if post.arxivurl and post.biburl %}
69+
<p><a href="{{post.paperurl}}">[paper]</a><a href="{{post.codeurl}}">[paper]</a><a href="{{post.arxivurl}}">[paper]</a><a href="{{post.biburl}}">[paper]</a></p>
70+
{% elsif post.paperurl if post.arxivurl and post.biburl %}
71+
<p><a href="{{post.paperurl}}">[paper]</a><a href="{{post.arxivurl}}">[paper]</a><a href="{{post.biburl}}">[paper]</a></p>
72+
{% elsif post.paperurl and post.biburl %}
73+
<p><a href="{{post.paperurl}}">[paper]</a><a href="{{post.biburl}}">[paper]</a></p>
6574
(% endif %)
6675
</td>
6776
</tr>

0 commit comments

Comments
 (0)