Fix blog post title rendering on blog page

This commit is contained in:
Lewis Dale 2023-03-04 19:44:26 +00:00
parent 8e3a999efd
commit 6e77331b38

View File

@ -11,7 +11,7 @@ pagination:
<ol class="stack-xl"> <ol class="stack-xl">
{% for item in pagination.items %} {% for item in pagination.items %}
<li class="stack-xs"> <li class="stack-xs">
<h2><a href="/post/{{ item.slug }}">{{ item.title.rendered }}</a></h2> <h2><a href="/post/{{ item.slug }}">{{ item.title.rendered | safe }}</a></h2>
<time class="block">{{ item.date | parseDate | dateDisplay }}</time> <time class="block">{{ item.date | parseDate | dateDisplay }}</time>
{{ item.excerpt.rendered | safe }} {{ item.excerpt.rendered | safe }}
<a href="/post/{{ item.slug }}" class="inline-block">Read more</a> <a href="/post/{{ item.slug }}" class="inline-block">Read more</a>