List posts

This commit is contained in:
finga 2021-04-14 17:07:10 +02:00
parent 4948195495
commit 099bcaadc6
6 changed files with 142 additions and 8 deletions

View file

@ -0,0 +1,11 @@
{% extends "base" %}
{% block content %}
<h1>simple text board</h1>
<h2>index</h2>
<ul>
{% for post in posts %}
<li>{{ loop.index }} - <a href="post/{{ post.id }}">{{ post.title }}</a> - {{ post.author }}</li>
{% endfor %}
</ul>
{% endblock content %}