From dffff64a263d1388c9b97bf430515a88e2afe00e Mon Sep 17 00:00:00 2001 From: Aditi Mittal Date: Fri, 6 Sep 2013 18:54:29 +0530 Subject: [PATCH] Add tags for every post on blog post listing page. --- .../mediagoblin/blog/blog_post_listing.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_post_listing.html b/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_post_listing.html index 184693d9..a1fd93c1 100644 --- a/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_post_listing.html +++ b/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_post_listing.html @@ -26,8 +26,10 @@ {% block mediagoblin_head -%} {%- endblock %} @@ -39,8 +41,15 @@

{{ post.title }}

-

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

- +

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

+ {% if post.tags %} + {% for tag in post.tags %} + {{ tag['name'] }} | + {% endfor %} + {% endif %}

{{ post.description|safe }}



-- 2.25.1