13 lines
260 B
Twig
13 lines
260 B
Twig
---
|
|
title: Blog
|
|
use: [posts]
|
|
draft: true
|
|
---
|
|
|
|
<ul>
|
|
{% for post in data.posts|sort((a, b) => b.date <=> a.date) %}
|
|
<li>
|
|
<a href="{{ post.url|trim('/', 'right') }}">{{ post.title }}</a> - {{ post.date|date('jS F Y') }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|