From 842b1bf6cb3b068c22d943817dce4bb6f438ae97 Mon Sep 17 00:00:00 2001 From: Aditi Date: Wed, 7 Aug 2013 14:10:36 +0530 Subject: [PATCH] Display date of creation of the blog post. --- .../mediagoblin/blog/blog_post_listing.html | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html index 3cf60029..a3094b31 100644 --- a/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html +++ b/mediagoblin/templates/mediagoblin/blog/blog_post_listing.html @@ -22,12 +22,28 @@ {% block title -%} {% trans %}{{ blog_owner }} 's Blog{% endtrans %} — {{ super() }} {%- endblock %} + +{% block mediagoblin_head -%} + +{%- endblock %} + + + {% block mediagoblin_content %}

{{ blog_owner }} 's Blog

{% for post in blog_posts[0:9] %} - + +

{{ post.created.strftime("%d %b, %Y") }}

+

{{ post.description|safe }}

+ {% endfor %}
{% endblock %} -- 2.25.1