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.j223
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/posts.html.j2 b/templates/posts.html.j2
new file mode 100644
index 0000000..eec04a9
--- /dev/null
+++ b/templates/posts.html.j2
@@ -0,0 +1,23 @@
+{% extends "base.html.j2" %}
+
+{% block main %}
+<section class="banner">
+ <h1>Posts</h1>
+</section>
+
+<section>
+ <h2>
+ Refining how we think and teach.
+ </h2>
+</section>
+
+<section class="cards">
+ {% for post in posts %}
+ <div class="card">
+ <h2>
+ <a href="/posts/{{ post.get_title()|e }}">{{ post.get_title() }}</a>
+ </h2>
+ </div>
+ {% endfor %}
+</section>
+{% endblock %} \ No newline at end of file