Remove header block that causes the blog title to appear

This commit is contained in:
PCoder 2019-05-04 14:35:52 +02:00
parent 87ef84e981
commit 498418c669

View file

@ -6,14 +6,6 @@
{% block content_blog %} {% block content_blog %}
<section class="blog-list"> <section class="blog-list">
{% block blog_title %} {% block blog_title %}
<header>
<h2>
{% if author %}{% trans "Articles by" %} {{ author.get_full_name }}
{% elif archive_date %}{% trans "Archive" %} &ndash; {% if month %}{{ archive_date|date:'F' }} {% endif %}{{ year }}
{% elif tagged_entries %}{% trans "Tag" %} &ndash; {{ tagged_entries|capfirst }}
{% elif category %}{% trans "Category" %} &ndash; {{ category }}{% endif %}
</h2>
</header>
{% endblock %} {% endblock %}
{% for post in post_list %} {% for post in post_list %}
{% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %} {% include "djangocms_blog/includes/blog_item.html" with post=post image="true" TRUNCWORDS_COUNT=TRUNCWORDS_COUNT %}