{% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %}{% assign journals = site.data.journals %}
{% for a in pub.authors -%}
{% assign ca = authors[a] -%}
{% if ca.home -%}
{{ca.name}}
{% else -%}
{{ca.name}}
{% endif -%}
{% if forloop.last -%}{% else -%}, {% endif -%}
{% endfor -%}
{{pub.title}}
{% if pub.journal %} {% if journals[pub.journal] %} {% assign j = journals[pub.journal] %} {{ j.short }} {% else %} {{pub.journal}} {% endif %} {% if pub.issue %} | {{pub.issue.year}}{% if pub.issue.volume %} Vol. {{pub.issue.volume}} {% endif %}{% if pub.issue.number %}({{pub.issue.number}}){% endif %} : {% if pub.doi %}{{pub.issue.pages}}{% else %}{{ pub.issue.pages}}{% endif %}{% else %} | {% if page.lang == "en" %}in press{% else %}à paraître{% endif %}{% endif -%}{% else %}{% if page.lang == "en" %}submitted{% else %}soumis{% endif %}{% endif %} {% for link in pub.links %} {% assign k = link[0] %} {{ sources[k].name }} {% if forloop.last -%}{% else -%}·{% endif -%} {% endfor %}