|
3 | 3 | <div class="publications">
|
4 | 4 | <ol class="bibliography">
|
5 | 5 |
|
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 %} |
7 | 10 |
|
| 11 | +{% for link in publications %} |
8 | 12 | <li>
|
9 | 13 | <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;"> |
11 | 15 | {% 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 %} |
16 | 20 | {% endif %}
|
17 | 21 | </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> |
23 | 26 | <div class="links">
|
24 | 27 | {% 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> |
26 | 29 | {% endif %}
|
27 | 30 | {% 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> |
29 | 32 | {% endif %}
|
30 | 33 | {% 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> |
32 | 35 | {% endif %}
|
33 | 36 | {% 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> |
35 | 38 | {% endif %}
|
36 | 39 | {% if link.notes %}
|
37 |
| - <strong> <i style="color:#e74d3c">{{ link.notes }}</i></strong> |
| 40 | + <strong><i style="color:#e74d3c">{{ link.notes }}</i></strong> |
38 | 41 | {% endif %}
|
39 | 42 | {% if link.others %}
|
40 | 43 | {{ link.others }}
|
|
44 | 47 | </div>
|
45 | 48 | </li>
|
46 | 49 | <br>
|
47 |
| - |
48 | 50 | {% endfor %}
|
49 | 51 |
|
50 | 52 | </ol>
|
|
0 commit comments