excerpt rendering
This commit is contained in:
parent
6a67b638e4
commit
00c80bc305
1 changed files with 1 additions and 2 deletions
|
@ -6,7 +6,6 @@ pagination:
|
||||||
size: 10
|
size: 10
|
||||||
reverse: true
|
reverse: true
|
||||||
alias: posts
|
alias: posts
|
||||||
templateEngineOverride: liquid,md
|
|
||||||
---
|
---
|
||||||
|
|
||||||
{% include "now-topper.liquid" %} {% for post in pagination.items %} {% if post.data.published %}
|
{% include "now-topper.liquid" %} {% for post in pagination.items %} {% if post.data.published %}
|
||||||
|
@ -21,7 +20,7 @@ templateEngineOverride: liquid,md
|
||||||
<div class="h-14 flex items-center text-sm">
|
<div class="h-14 flex items-center text-sm">
|
||||||
{{ post.date | date: "%m.%d.%Y" }}
|
{{ post.date | date: "%m.%d.%Y" }}
|
||||||
</div>
|
</div>
|
||||||
<p class="mt-0">{{ post.data.post_excerpt }}</p>
|
<p class="mt-0">{{ post.data.post_excerpt | markdownify }}</p>
|
||||||
<div class="mt-4 flex items-center justify-between">
|
<div class="mt-4 flex items-center justify-between">
|
||||||
<a class="flex-none font-normal no-underline" href="{{ post.url }}">Read more →</a>
|
<a class="flex-none font-normal no-underline" href="{{ post.url }}">Read more →</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in a new issue