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

34 lines
1.0 KiB
HTML

<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 %}
&nbsp;|&nbsp;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 %}