blob: 84c6f03496955734550aa1d4d99a3698d5726856 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
layout = "base.njk"
[pagination]
data = "collections.post"
alias = "posts"
size = 20
reverse = true
---
{% for post in posts %}
<article class=blogpost>
<h2><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
<time datetime="{{ post.date | rfc3339_datetime }}" title="{{ post.date | rfc3339_datetime}}">
{{ post.date | local_date }}
</time>
{%- if post.data.page.excerpt -%}
<p>{{ post.data.page.excerpt | safe }}
{%- endif -%}
</article>
{% endfor %}
|