From bea80928f694671010bc99493d31879df7d42836 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Wed, 4 Sep 2024 20:05:51 +0200 Subject: initial commit --- templates/index.html.j2 | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 templates/index.html.j2 (limited to 'templates/index.html.j2') diff --git a/templates/index.html.j2 b/templates/index.html.j2 new file mode 100644 index 0000000..09ce8ad --- /dev/null +++ b/templates/index.html.j2 @@ -0,0 +1,18 @@ +{% extends "base.html.j2" %} +{% block content %} +{% for post in posts %} +{% if loop.first %} +

{{ post.get_index_prompt() }}

+{% else %} +

{{ post.get_index_prompt() }}

+{% endif %} + + +

{{ post.title() }}

+

{{ post.intro }}

+
+{% if not loop.last %} +
+{% endif %} +{% endfor %} +{% endblock %} -- cgit v1.2.3-70-g09d2