Skip to content

Commit fb06c16

Browse files
authored
Update publications.md
1 parent 31c794c commit fb06c16

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

_includes/publications.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,38 +3,41 @@
33
<div class="publications">
44
<ol class="bibliography">
55

6-
{% for link in site.data.publications.main %}
6+
{% assign publications = site.data.publications %}
7+
{% if publications.main %}
8+
{% assign publications = publications.main %}
9+
{% endif %}
710

11+
{% for link in publications %}
812
<li>
913
<div class="pub-row">
10-
<div class="col-sm-3 abbr" style="position: relative;padding-right: 15px;padding-left: 15px;">
14+
<div class="col-sm-3 abbr" style="position: relative; padding-right: 15px; padding-left: 15px;">
1115
{% if link.image %}
12-
<img src="{{ link.image }}" class="teaser img-fluid z-depth-1" style="width=100;height=40%">
13-
{% if link.conference_short %}
14-
<abbr class="badge">{{ link.conference_short }}</abbr>
15-
{% endif %}
16+
<img src="{{ link.image | relative_url }}" class="teaser img-fluid z-depth-1" style="width: 100%; height: auto;">
17+
{% if link.conference_short %}
18+
<abbr class="badge">{{ link.conference_short }}</abbr>
19+
{% endif %}
1620
{% endif %}
1721
</div>
18-
<div class="col-sm-9" style="position: relative;padding-right: 15px;padding-left: 20px;">
19-
<div class="title"><a href="{{ link.pdf }}">{{ link.title }}</a></div>
20-
<div class="author">{{ link.authors }}</div>
21-
<div class="periodical"><em>{{ link.conference }}</em>
22-
</div>
22+
<div class="col-sm-9" style="position: relative; padding-right: 15px; padding-left: 20px;">
23+
<div class="title"><a href="{{ link.pdf | relative_url }}" target="_blank">{{ link.title }}</a></div>
24+
<div class="author">{{ link.authors | markdownify }}</div>
25+
<div class="periodical"><em>{{ link.conference }}</em></div>
2326
<div class="links">
2427
{% if link.pdf %}
25-
<a href="{{ link.pdf }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">PDF</a>
28+
<a href="{{ link.pdf | relative_url }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">PDF</a>
2629
{% endif %}
2730
{% if link.code %}
28-
<a href="{{ link.code }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">Code</a>
31+
<a href="{{ link.code | relative_url }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">Code</a>
2932
{% endif %}
3033
{% if link.page %}
31-
<a href="{{ link.page }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">Project Page</a>
34+
<a href="{{ link.page | relative_url }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">Project Page</a>
3235
{% endif %}
3336
{% if link.bibtex %}
34-
<a href="{{ link.bibtex }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">BibTex</a>
37+
<a href="{{ link.bibtex | relative_url }}" class="btn btn-sm z-depth-0" role="button" target="_blank" style="font-size:12px;">BibTex</a>
3538
{% endif %}
3639
{% if link.notes %}
37-
<strong> <i style="color:#e74d3c">{{ link.notes }}</i></strong>
40+
<strong><i style="color:#e74d3c">{{ link.notes }}</i></strong>
3841
{% endif %}
3942
{% if link.others %}
4043
{{ link.others }}
@@ -44,7 +47,6 @@
4447
</div>
4548
</li>
4649
<br>
47-
4850
{% endfor %}
4951

5052
</ol>

0 commit comments

Comments
 (0)