[publis] tweak links

This commit is contained in:
Gaspard Jankowiak 2023-08-30 10:27:14 +02:00
parent b0ec247ec9
commit 64e78df08a

View file

@ -23,10 +23,18 @@
{% else %}
<em>{{pub.journal}}</em>
{% 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 %}<a href="{{ sources.doi.baseurl}}{{ pub.doi }}">{{pub.issue.pages}}</a>{% 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 %}
{% if pub.issue %} | {{pub.issue.year}}{% if pub.issue.volume %} Vol. {{pub.issue.volume}} {% endif %}{% if pub.issue.number %}({{pub.issue.number}}){% endif %} : {{ pub.issue.pages}}
{% else %} | {% if page.lang == "en" %}in press{% else %}à paraître{% endif %}
{% endif %}
{% else %}
{% if page.lang == "en" %}submitted{% else %}soumis{% endif %}
{% endif %}
<span class="right">
{% if pub.cc %}
<img src="/images/{{pub.cc}}.png" class="cc-icon">
{% if pub.cc %}CC-{{pub.cc | upcase }}
{% if pub.links or pub.doi -%}&middot;{% endif -%}
{% endif %}
{% if pub.doi %}<a href="{{ sources.doi.baseurl}}{{ pub.doi }}">🌐</a>
{% if pub.links -%}&middot;{% endif -%}
{% endif %}
{% for link in pub.links %}
{% assign k = link[0] %}