From 503803dba824251e24095d5138a8f03bfc56b781 Mon Sep 17 00:00:00 2001 From: PCoder Date: Sat, 4 May 2019 14:26:30 +0200 Subject: [PATCH] Remove Category - ... block altogether --- .../templates/djangocms_blog/post_list.html | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/djangocms_blog/templates/djangocms_blog/post_list.html b/djangocms_blog/templates/djangocms_blog/post_list.html index ff36c86..2d10e13 100644 --- a/djangocms_blog/templates/djangocms_blog/post_list.html +++ b/djangocms_blog/templates/djangocms_blog/post_list.html @@ -5,18 +5,8 @@ {% block content_blog %}
- {% if request.GET.page_title is None %} - {% block blog_title %} -
-

- {% if author %}{% trans "Articles by" %} {{ author.get_full_name }} - {% elif archive_date %}{% trans "Archive" %} – {% if month %}{{ archive_date|date:'F' }} {% endif %}{{ year }} - {% elif tagged_entries %}{% trans "Tag" %} – {{ tagged_entries|capfirst }} - {% elif category %}{% trans "Category" %} – {{ category }}{% endif %} -

-
- {% endblock %} - {% endif %} + {% block blog_title %} + {% endblock %} {% for post in post_list %} {% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} {% empty %}