Remove Category - ... block altogether
This commit is contained in:
parent
d73ac46dc8
commit
503803dba8
1 changed files with 2 additions and 12 deletions
|
@ -5,18 +5,8 @@
|
|||
|
||||
{% block content_blog %}
|
||||
<section class="blog-list">
|
||||
{% if request.GET.page_title is None %}
|
||||
{% block blog_title %}
|
||||
<header>
|
||||
<h2>
|
||||
{% 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 %}
|
||||
</h2>
|
||||
</header>
|
||||
{% endblock %}
|
||||
{% endif %}
|
||||
{% for post in post_list %}
|
||||
{% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %}
|
||||
{% empty %}
|
||||
|
|
Loading…
Reference in a new issue