From: Guillaume Pellerin Date: Mon, 2 May 2016 12:57:00 +0000 (+0200) Subject: use only categories in post headers X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=90a68869d6686d53ad509e661e5535f42814ca68;p=mezzo.git use only categories in post headers --- diff --git a/app/templates/blog/blog_post_list.html b/app/templates/blog/blog_post_list.html index eacc5027..cd2184e6 100644 --- a/app/templates/blog/blog_post_list.html +++ b/app/templates/blog/blog_post_list.html @@ -43,23 +43,6 @@ {% block main %} -{% if tag or category or year or month or author %} - {% block blog_post_list_filterinfo %} -

- {% if tag %} - {% trans "Viewing posts tagged" %} {{ tag }} - {% else %}{% if category %} - {% trans "Viewing posts for the category" %} {{ category }} - {% else %}{% if year or month %} - {% trans "Viewing posts from" %} {% if month %}{{ month }}, {% endif %} - {{ year }} - {% else %}{% if author %} - {% trans "Viewing posts by" %} - {{ author.get_full_name|default:author.username }} - {% endif %}{% endif %}{% endif %}{% endif %} - {% endblock %} -

-{% else %} {% if page %} {% if page.get_content_model.content %} {% editable page.get_content_model.content %} @@ -70,16 +53,15 @@ {% blog_categories as categories %} {% if categories %}
{% endif %} {% endif %} -{% endif %}