homepage/_includes/publi_row.html

29 lines
1.1 KiB
HTML
Raw Normal View History

2014-04-15 15:06:31 +02:00
{% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %}
2019-03-22 14:33:48 +01:00
<li value="{{pub.id}}">
2014-04-10 09:57:08 +02:00
<p class="left">
<strong>{{pub.title}}</strong>
<span class="right">
2014-04-15 15:06:31 +02:00
{% for a in pub.authors -%}
{% assign ca = authors[a] -%}
{% if ca.home -%}
2014-04-10 09:57:08 +02:00
<a href="{{ca.home)}}">{{ca.name}}</a>
2014-04-15 15:06:31 +02:00
{% else -%}
2014-04-10 09:57:08 +02:00
{{ca.name}}
2014-04-15 15:06:31 +02:00
{% endif -%}
2019-03-22 12:33:22 +01:00
{% if forloop.last -%}{% else -%}, {% endif -%}
2014-04-15 15:06:31 +02:00
{% endfor -%}
2014-04-10 09:57:08 +02:00
</span>
</p>
<p class="clear">
2019-11-19 16:11:07 +01:00
{% if pub.journal %}<em>{{pub.journal}}</em>{% if pub.issue %} | Vol. {{pub.issue.volume}} ({{pub.issue.year}}), no. {{pub.issue.number}}{% endif -%}{% else %}{% if page.lang == "en" %}submitted{% else %}soumis{% endif %}{% endif %}
2014-04-10 09:57:08 +02:00
<span class="right">
2014-04-15 15:06:31 +02:00
{% for link in pub.links %}
{% for l in link %}{% assign k = l[0] %}
<span class="paper_link"><a href="{{ sources[k].baseurl}}{{l[1]}}">{{ sources[k].name }}</a></span>
{% endfor %}
{% if forloop.last -%}{% else -%}&middot;{% endif -%}
{% endfor %}
2014-04-10 09:57:08 +02:00
</span>
</p>
</li>