tweak publi display

This commit is contained in:
Gaspard Jankowiak 2020-10-28 09:23:38 +01:00
parent 5b63bfef2e
commit 0909bb64ff
5 changed files with 26 additions and 6 deletions

View file

@ -23,17 +23,21 @@ Non linear diffusion equations (fast diffusion equation), long time behaviour of
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% if site.data.accepted %}
## Articles accepted for publication ## Articles accepted for publication
<ol reversed> <ol reversed>
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.submitted %}
## Submitted articles ## Submitted articles
<ol reversed> <ol reversed>
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
# Talks and visits # Talks and visits

View file

@ -23,17 +23,21 @@
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% if site.data.accepted %}
## Articles acceptés ## Articles acceptés
<ol reversed> <ol reversed>
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.submitted %}
## Articles soumis ## Articles soumis
<ol reversed> <ol reversed>
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
# Exposés et séjours # Exposés et séjours

View file

@ -1,8 +1,6 @@
{% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %} {% assign pub = include.pub %}{% assign authors = include.authors %}{% assign sources = site.data.sources %}
<li value="{{pub.id}}"> <li value="{{pub.id}}">
<p class="left"> <p class="left">
<strong>{{pub.title}}</strong>
<span class="right">
{% for a in pub.authors -%} {% for a in pub.authors -%}
{% assign ca = authors[a] -%} {% assign ca = authors[a] -%}
{% if ca.home -%} {% if ca.home -%}
@ -12,14 +10,17 @@
{% endif -%} {% endif -%}
{% if forloop.last -%}{% else -%}, {% endif -%} {% if forloop.last -%}{% else -%}, {% endif -%}
{% endfor -%} {% endfor -%}
</span> <br>
<strong>{{pub.title}}</strong>
</p> </p>
<span class="right">
</span>
<p class="clear"> <p class="clear">
{% if pub.journal %}<em>{{pub.journal}}</em>{% if pub.issue %} | {{pub.issue.year}} Vol. {{pub.issue.volume}} ({{pub.issue.number}}): {{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 %} {% if pub.journal %}<em>{{pub.journal}}</em>{% if pub.issue %} | {{pub.issue.year}} Vol. {{pub.issue.volume}} {% 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"> <span class="right">
{% for link in pub.links %} {% for link in pub.links %}
{% for l in link %}{% assign k = l[0] %} {% for l in link %}{% assign k = l[0] %}
<span class="paper_link"><a href="{{ sources[k].baseurl}}{{l[1]}}">{{ sources[k].name }}</a></span> <span class="paper_link"><a title="{{ sources[k].baseurl}}{{l[1]}}" href="{{ sources[k].baseurl}}{{l[1]}}">{{ sources[k].name }}</a></span>
{% endfor %} {% endfor %}
{% if forloop.last -%}{% else -%}&middot;{% endif -%} {% if forloop.last -%}{% else -%}&middot;{% endif -%}
{% endfor %} {% endfor %}

View file

@ -7,21 +7,26 @@ subtitle: 'Publications'
{% assign authors = site.data.authors %} {% assign authors = site.data.authors %}
{% if site.data.submitted %}
# Preprints # Preprints
<ol reversed> <ol reversed>
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.accepted %}
# Articles accepted for publication # Articles accepted for publication
<ol reversed> <ol reversed>
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.published %}
# Published articles # Published articles
<ol reversed> <ol reversed>
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}

View file

@ -6,21 +6,27 @@ subtitle: Publications
{% assign authors = site.data.authors %} {% assign authors = site.data.authors %}
{% if site.data.submitted %}
# Articles soumis (preprints) # Articles soumis (preprints)
<ol reversed> <ol reversed>
{% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.submitted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.accepted %}
# Articles acceptés # Articles acceptés
<ol reversed> <ol reversed>
{% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.accepted %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}
{% if site.data.published %}
# Articles publiés # Articles publiés
<ol reversed> <ol reversed>
{% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %} {% for pub in site.data.published %}{% include publi_row.html pub=pub authors=authors %}{% endfor %}
</ol> </ol>
{% endif %}