Issue #6: Move title into post-header.html
This commit is contained in:
parent
3aa989ed06
commit
3567718c70
3 changed files with 4 additions and 5 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue