diff options
author | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 10:44:04 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2025-05-18 10:44:04 -0400 |
commit | 37b6c927620cb68e01345d29daca960faeb80cb9 (patch) | |
tree | b2740d9a88fb238ea6aae44fb73481265b009e1d /templates/posts.html.j2 | |
parent | d6a495165b4f36b8bf3137deac46f7bcfb1d7bf1 (diff) | |
download | carpentertutoring-37b6c927620cb68e01345d29daca960faeb80cb9.tar.xz carpentertutoring-37b6c927620cb68e01345d29daca960faeb80cb9.zip |
chore: rename jinja templates
Also wrap style block so auto formatter doesn't pick it up and wreck
CSS.
Diffstat (limited to 'templates/posts.html.j2')
-rw-r--r-- | templates/posts.html.j2 | 15 |
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 |