free_zed.gitlab.io/theme-uberspot/templates/article_header.html

34 lines
1.0 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1><a href="/{{ article.url }}" rel="bookmark">
{{ article.title|striptags }}
</a></h1>
{% if article.stats %}
<span title="~{{ article.stats['wc'] }} words" id='stats'>~{{ article.stats['read_mins'] }} min de lecture</span> &bull;
{% endif %}
<time datetime="{{ article.date }}" pubdate>Publié le
<em>{{ article.locale_date }}</em>
</time>
{% if categories|length > 1 %}
<span class="category">dans <a href="/{{ article.category.url }}">
{{ article.category }}</a>
</span>
{% endif %}
{% if article.translations %}
|Traductions:
{% for translation in article.translations %}
<a href="/{{ translation.url }}">{{ translation.lang }}</a>
{% endfor %}
{% endif %}
{% if article.updated %}
<time datetime="{{ article.updated }}" pubdate>Mis à jour le
<em>{{ article.updated }}</em>
</time>
{% endif %}
{% if article.tags %}
<ul class="tags">
Tags:
{% for tag in article.tags %}
<li><a href="/{{ tag.url }}">{{ tag }}</a></li>
{% endfor %}
</ul>
{% endif %}