This commit is contained in:
Dominic Grimm 2023-02-11 12:48:39 +01:00
parent 584c07ff23
commit 53e144d9a7
No known key found for this signature in database
GPG key ID: 6F294212DEAAC530
24 changed files with 1236 additions and 254 deletions

View file

@ -0,0 +1,24 @@
{% extends "base.html" %}
{% block title %}posts{% endblock %}
{% block head %}{% endblock %}
{% block breadcrumb %}
<li><a href="/posts">posts</a></li>
{% endblock %}
{% block content %}
<ul id="post-index" class="dashed">
{% for post in posts %}
<li>
<span>
<a href="/posts/{{ post.slug }}">{{ post.name }}</a>
(<i>{{ post.published_at }}{% match post.edited_at %}{% when Some with (x) %} -> {{ x }}{% when None %}{% endmatch %}</i>)
</span>
<br />
<span>{{ post.description }}</span>
</li>
{% endfor %}
</ul>
{% endblock %}