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