summaryrefslogtreecommitdiff
path: root/templates/posts.html.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/posts.html.j2')
-rw-r--r--templates/posts.html.j215
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2
new file mode 100644
index 0000000..e9efdfb
--- /dev/null
+++ b/templates/posts.html.j2
@@ -0,0 +1,15 @@
+{% extends "base.html.j2" %}
+
+{% block main %}
+<section class="banner">
+ <h1>Posts</h1>
+</section>
+
+<section>
+ <p>
+ {% for post in posts %}
+ <h2><a href="/posts/{{ post.get_title()|e }}">{{ post.get_title() }}</a></h2>
+ {% endfor %}
+ </p>
+ <section>
+ {% endblock %} \ No newline at end of file