From: Aditi Mittal Date: Fri, 6 Sep 2013 13:24:29 +0000 (+0530) Subject: Add tags for every post on blog post listing page. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=dffff64a263d1388c9b97bf430515a88e2afe00e;p=mediagoblin.git Add tags for every post on blog post listing page. --- 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 }}