tweaks
This commit is contained in:
parent
bb209d3d95
commit
33ae7fa79a
10 changed files with 64 additions and 50 deletions
|
@ -1 +0,0 @@
|
|||
{% assign pub = include.pub %}{% assign authors = include.authors %} | {% 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 %} | {{pub.title}} |
|
|
@ -1,28 +1,28 @@
|
|||
{% assign pub = include.pub %}{% assign authors = include.authors %}
|
||||
<li>
|
||||
{% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %}
|
||||
<li value="{{pub.id}}">
|
||||
<p class="left">
|
||||
<strong>{{pub.title}}</strong>
|
||||
<span class="right">
|
||||
{% for a in pub.authors %}
|
||||
{% assign ca = authors[a] %}
|
||||
{% if ca.home %}
|
||||
{% for a in pub.authors -%}
|
||||
{% assign ca = authors[a] -%}
|
||||
{% if ca.home -%}
|
||||
<a href="{{ca.home)}}">{{ca.name}}</a>
|
||||
{%else%}
|
||||
{% else -%}
|
||||
{{ca.name}}
|
||||
{%endif%}
|
||||
{% if forloop.last %}{%else%}, {% endif %}
|
||||
{% endfor %}
|
||||
{% endif -%}
|
||||
{% if forloop.last -%}{% else -%},{% endif -%}
|
||||
{% endfor -%}
|
||||
</span>
|
||||
</p>
|
||||
<p class="clear">
|
||||
{% if pub.journal %}<em>{{pub.journal}}</em> {{pub.issue}}{% else %} <em>preprint</em> {% endif %}
|
||||
<span class="right">
|
||||
{% if pub.arxiv %}
|
||||
<span class="paper_link"><a href="http://arxiv.org/abs/{{pub.arxiv}}">arXiv</a></span>
|
||||
{% endif %}
|
||||
{% if pub.hal %}
|
||||
<span class="paper_link"><a href="http://hal.archives-ouvertes.fr/hal-{{pub.hal}}">HAL</a></span>
|
||||
{% endif %}
|
||||
{% 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 -%}·{% endif -%}
|
||||
{% endfor %}
|
||||
</span>
|
||||
</p>
|
||||
</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue