From 1fdacee131a6840329fd6746cd7511c3fb16b829 Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Fri, 9 Feb 2024 17:29:34 -0600 Subject: Fix comments rendering --- templates/comments/index.jinja | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to 'templates') diff --git a/templates/comments/index.jinja b/templates/comments/index.jinja index 08f8cfb..daaf5ea 100644 --- a/templates/comments/index.jinja +++ b/templates/comments/index.jinja @@ -1,9 +1,28 @@
- {% for comment in page.items %} -
- -
- {% endfor %} + {% for comment in page.items %} +
+
+
+ {% if comment.author is eq('') %} + Anonymous said: + {% else %} + {{ comment.author }} said: + {% endif %} +
+
+ {{ comment.created_at.date().isoformat() }} +
+
+ +
+
+ +
+
+
+
+
+ {% endfor %}
-- cgit v1.2.3