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/diary.html.j2 | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 edaweb/templates/diary.html.j2 (limited to 'edaweb/templates/diary.html.j2') diff --git a/edaweb/templates/diary.html.j2 b/edaweb/templates/diary.html.j2 new file mode 100644 index 0000000..f6604f7 --- /dev/null +++ b/edaweb/templates/diary.html.j2 @@ -0,0 +1,26 @@ +{% extends "template.html.j2" %} +{% block content %} +

this page might not be up-to-date if my diary account is search banned

+

if in doubt check my diary account
check if i'm currently search banned

+
+ {% for dt, entries in diary.items() %} +
{{ dt }}
+
+
    + {% for entry in entries %} + {% if entry["images"] != [] %} +
      + {% for img in entry["images"] %} +
    • + {% endfor %} +
    + {% endif %} +
  1. +

    {{ entry["text"] }}

    +
  2. + {% endfor %} +
+
+ {% endfor %} +
+{% endblock %} -- cgit v1.2.3