diff default/blog/item.html @ 32:16818343fc43

blog/item: use date_days instead of blog_date + fr translation
author Goffi <goffi@goffi.org>
date Sat, 24 Jun 2017 21:50:24 +0200
parents 69a2e3bf5e17
children 5fd910d48192
line wrap: on
line diff
--- a/default/blog/item.html	Sat Jun 24 20:32:47 2017 +0200
+++ b/default/blog/item.html	Sat Jun 24 21:50:24 2017 +0200
@@ -16,7 +16,7 @@
             {% block metadata %}
             <div class="metadata">
             <span class="author">{{identities[item.author_jid].nick | default(item.author)}}</span>
-            <span class="blog_data">{{item.published | blog_date}}</span>
+            <span class="blog_data">{% trans days=item.published|date_days %}{{days}} days ago{% endtrans %}</span>
             </div>
 
             {% endblock metadata %}