aboutsummaryrefslogtreecommitdiffstats
path: root/lightweight/templates/meta.html
diff options
context:
space:
mode:
authorskami <skami@skami-laptop.dyndns.org>2011-02-14 11:24:11 +0100
committerskami <skami@skami-laptop.dyndns.org>2011-02-14 11:24:11 +0100
commit95c07beb3a1302f232520ed64e59c6839a9948f5 (patch)
treee267fccc6d759b237040ca65f7c90076dc85eb0d /lightweight/templates/meta.html
parent3072332a1549bbdbc458c13112b6013716c5782b (diff)
downloadpelican-themes-95c07beb3a1302f232520ed64e59c6839a9948f5.zip
pelican-themes-95c07beb3a1302f232520ed64e59c6839a9948f5.tar.gz
pelican-themes-95c07beb3a1302f232520ed64e59c6839a9948f5.tar.bz2
Le thème est maintenant presque fini...
Diffstat (limited to 'lightweight/templates/meta.html')
-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>