Show excerpt text
This commit is contained in:
parent
6e03de00a4
commit
41d0b9dac4
|
@ -10,8 +10,11 @@ use:
|
|||
---
|
||||
<h1>Blog</h1>
|
||||
|
||||
<ul>
|
||||
{% for post in page.pagination.items %}
|
||||
<li><a href="{{ post.url }}">{{ post.title }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% for post in page.pagination.items %}
|
||||
<article class="post"></article>
|
||||
<h2>{{ post.title }}</h2>
|
||||
{% if post.blocks.excerpt %}
|
||||
{{ post.blocks.excerpt | raw }}
|
||||
{% endif %}
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
|
Reference in a new issue