12 lines
259 B
Plaintext
12 lines
259 B
Plaintext
{% 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 %}
|