From 0e8ada1eff8799437c9be1bc2af10d6198fa8cad Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 29 Apr 2025 18:51:40 +0100 Subject: Added inline HTML into blogposts, refactored a bit --- edaweb/templates/thoughts.html.j2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 edaweb/templates/thoughts.html.j2 (limited to 'edaweb/templates/thoughts.html.j2') diff --git a/edaweb/templates/thoughts.html.j2 b/edaweb/templates/thoughts.html.j2 new file mode 100644 index 0000000..bf06f57 --- /dev/null +++ b/edaweb/templates/thoughts.html.j2 @@ -0,0 +1,12 @@ +{% extends "template.html.j2" %} +{% block content %} + {% for category_name, thoughts in tree.items() %} +

{{category_name}}

+
+ {% for id_, title, dt in thoughts %} +
{{title}}
+
{{dt}}
+ {% endfor %} +
+ {% endfor %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3