blog/index.njk
2022-05-10 21:41:47 -04:00

16 lines
336 B
Plaintext

---
layout: layouts/base.njk
---
{% set postslist = collections.posts %}
{% for post in postslist | reverse %}
<article class="h-entry">
<h2 class="p-name">
<a href="{{ post.url }}">{{ post.data.title }}</a>
</h2>
<div class="e-content">
{{ post.templateContent | safe }}
</div>
</article>
{% endfor %}