Issue #6: Move title into post-header.html

This commit is contained in:
Oliver Davies 2015-06-29 13:03:32 +01:00
parent 3aa989ed06
commit 3567718c70
3 changed files with 4 additions and 5 deletions

View file

@ -14,9 +14,7 @@ use:
{% for post in page.pagination.items %}
<article class="post">
<h2>{{ post.title }}</h2>
{% include 'post-header' with { page: post } %}
{% include 'post-header' with { page: post, title_tag: 'h2' } %}
{% if post.blocks.excerpt %}
{{ post.blocks.excerpt|raw }}