aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/meta.html
diff options
context:
space:
mode:
authorChimrod <contact+git@chimrod.com>2013-04-16 21:27:30 +0200
committerChimrod <contact+git@chimrod.com>2013-04-16 21:27:30 +0200
commit66a5a0cdccd464930a232c87f91e1b0805f255a5 (patch)
tree1563108cc22cfdc250108eb25b3beaf51d398dff /theme/templates/meta.html
initial commit
Diffstat (limited to 'theme/templates/meta.html')
-rwxr-xr-xtheme/templates/meta.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/theme/templates/meta.html b/theme/templates/meta.html
new file mode 100755
index 0000000..db36173
--- /dev/null
+++ b/theme/templates/meta.html
@@ -0,0 +1,5 @@
+ <details class="meta">
+ Publié le <time datetime="{{ article.date.isoformat() }}" pubdate="pubdate">{{ article.locale_date }}</time>
+ {% if article.author %} par {{ article.author }}{% endif %} dans «<a href="{{ SITEURL }}/{{ article.category.url }}">{{ article.category }}</a>».
+ {% if article.tags %}Mots-clés: {% for tag in article.tags %}{%if loop.index > 1%}, {%endif%}<a href="{{ SITEURL }}/{{ tag.url }}">{{ tag }}</a>{% endfor %}</p>{% endif %}
+ </details>