From b97c9ea3ee7330cf04f1b02f6074301c6840eae8 Mon Sep 17 00:00:00 2001 From: Jake Charman Date: Thu, 19 Feb 2026 12:58:42 +0000 Subject: [PATCH] First implementation of comments --- src/jakecharman/templates/article.html | 2 +- src/templates/article.html | 20 -------------------- 2 files changed, 1 insertion(+), 21 deletions(-) delete mode 100755 src/templates/article.html diff --git a/src/jakecharman/templates/article.html b/src/jakecharman/templates/article.html index 4d48950..f8f09f7 100755 --- a/src/jakecharman/templates/article.html +++ b/src/jakecharman/templates/article.html @@ -23,7 +23,7 @@
-

{{comments | length}} Comments

+

{{comments | length}} Comment{% if comments | length != 1 %}s{% endif %}

{% for comment in comments %}
{{ comment[0] }} - {{ comment[2] | human_date }} diff --git a/src/templates/article.html b/src/templates/article.html deleted file mode 100755 index 50fcafd..0000000 --- a/src/templates/article.html +++ /dev/null @@ -1,20 +0,0 @@ -{% include 'header.html' %} - -
-
-

{{ metadata.title}}

-

{{ metadata.date | human_date }}

-
- {{post|safe}} -
-
-
-
- - - - - -
-
-{% include 'footer.html' %} \ No newline at end of file