add cc-by icon

This commit is contained in:
Gaspard Jankowiak 2022-02-01 09:58:15 +01:00
parent 4187df3c96
commit bced110d9f
3 changed files with 5 additions and 0 deletions

View file

@ -25,6 +25,9 @@
{% 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 %} : {% 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 %} : {% 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 %}
<span class="right"> <span class="right">
{% if pub.cc %}
<img src="/images/{{pub.cc}}.png" class="cc-icon">
{% endif %}
{% for link in pub.links %} {% for link in pub.links %}
{% assign k = link[0] %} {% assign k = link[0] %}
<span class="paper_link"><a title="{{ sources[k].baseurl}}{{link[1]}}" href="{{ sources[k].baseurl}}{{link[1]}}">{{ sources[k].name }}</a></span> <span class="paper_link"><a title="{{ sources[k].baseurl}}{{link[1]}}" href="{{ sources[k].baseurl}}{{link[1]}}">{{ sources[k].name }}</a></span>

View file

@ -143,6 +143,8 @@ ol li:hover { border-right: 3px solid $links; padding-right: 7px; }
.footnotes { font-size: 0.8em; padding-left: 1em; margin-top: 2em;} .footnotes { font-size: 0.8em; padding-left: 1em; margin-top: 2em;}
.footnotes ol li { padding: 0; border: none; } .footnotes ol li { padding: 0; border: none; }
.cc-icon { height: 1em; vertical-align: middle; }
@media (max-width: $small-width) { @media (max-width: $small-width) {
body { font-size: 80%; } body { font-size: 80%; }
} }

BIN
images/by.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB