aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates
diff options
context:
space:
mode:
Diffstat (limited to 'lightweight/templates')
-rw-r--r--lightweight/templates/meta.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/lightweight/templates/meta.html b/lightweight/templates/meta.html
new file mode 100644
index 0000000..14257bd
--- /dev/null
+++ b/lightweight/templates/meta.html
@@ -0,0 +1,5 @@
+ <details class="meta">
+ Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.date.strftime(DEFAULT_DATE_FORMAT or '%a %d %B %Y') }}</time>
+ {% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/category/{{ article.category }}.html">{{ article.category }}</a>».
+ {% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}<a href="{{ SITEURL }}/tag/{{ tag }}.html">{{ tag }}</a>{% endfor %}</p>{% endif %}
+ </details>