2023-03-25 16:14:53 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block main -%}
|
2023-03-25 21:38:16 +01:00
|
|
|
<h1>Posts</h1>
|
|
|
|
<p>I occasionally write some stuff, it's quite rare but it does happen believe it or not.</p>
|
2023-03-25 16:14:53 +01:00
|
|
|
<ul>
|
|
|
|
{% for post in posts -%}
|
2023-03-25 21:38:16 +01:00
|
|
|
<li><a href="{{post.absolute_path | safe}}">{% if post.date -%}
|
|
|
|
<time datetime="{{ post.date }}">{{ post.date | date(format="%Y-%m-%d") }}</time> - {{ post.title -}}
|
|
|
|
{% else -%}
|
|
|
|
{{ post.title -}}
|
|
|
|
{% endif -%}
|
|
|
|
</a></li>
|
2023-03-25 16:14:53 +01:00
|
|
|
{% endfor -%}
|
|
|
|
</ul>
|
2023-03-29 21:48:27 +02:00
|
|
|
{% endblock main -%}
|