homepage/_includes/publi_row.html
2015-03-28 11:08:01 +01:00

28 lines
1,005 B
HTML

{% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %}
<li>
<p class="left">
<strong>{{pub.title}}</strong>
<span class="right">
{% for a in pub.authors -%}
{% assign ca = authors[a] -%}
{% if ca.home -%}
<a href="{{ca.home)}}">{{ca.name}}</a>
{% else -%}
{{ca.name}}
{% endif -%}
{% if forloop.last -%}{% else -%},{% endif -%}
{% endfor -%}
</span>
</p>
<p class="clear">
{% if pub.journal %}<em>{{pub.journal}}</em> {{pub.issue}}{% else %} <em>preprint, soumis/submitted</em> {% endif %}
<span class="right">
{% 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 %}
</span>
</p>
</li>