diff options
Diffstat (limited to 'templates/posts.html')
-rw-r--r-- | templates/posts.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/posts.html b/templates/posts.html new file mode 100644 index 0000000..052cd42 --- /dev/null +++ b/templates/posts.html @@ -0,0 +1,15 @@ +{% extends "base.html" %} + +{% block main %} +<section class="banner"> + <h1>Posts</h1> +</section> + +<section class="quiet"> + <p> + {% for post in posts %} + <h2><a href="/posts/{{ post.get_title()|e }}">{{ post.get_title() }}</a></h2> + {% endfor %} + </p> +<section> +{% endblock %} |