24 lines
647 B
HTML
24 lines
647 B
HTML
{% 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 %}
|