15 lines
531 B
HTML
15 lines
531 B
HTML
{% extends "base.html" %}
|
|
{% block main -%}
|
|
<h1>Posts</h1>
|
|
<p>I occasionally write some stuff, it's quite rare but it does happen believe it or not.</p>
|
|
<ul>
|
|
{% for post in posts -%}
|
|
<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>
|
|
{% endfor -%}
|
|
</ul>
|
|
{% endblock main -%}
|