From 3399cf5c4f0a7a79c7903358ef1d6b024dcdfc08 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Thu, 1 Jan 2026 19:34:11 +0100 Subject: added hour:minutes publish time to feeds --- blog/posts/comic/meta.json | 2 +- blog/posts/hestia/meta.json | 2 +- blog/posts/let-there-be-light-theme/meta.json | 2 +- blog/posts/making-this-blog/meta.json | 2 +- blog/posts/still-working-on-this/meta.json | 2 +- blog/templates/blogpost.html.j2 | 2 +- comic/issues/1/meta.json | 2 +- comic/templates/issue.html.j2 | 2 +- modules/blogpost_processor.py | 7 +++++-- modules/comic_generate.py | 5 ++++- 10 files changed, 17 insertions(+), 11 deletions(-) diff --git a/blog/posts/comic/meta.json b/blog/posts/comic/meta.json index 57995a7..32b031f 100644 --- a/blog/posts/comic/meta.json +++ b/blog/posts/comic/meta.json @@ -1,6 +1,6 @@ { "title" : "Comics!", - "publish_date" : "2025-12-27", + "publish_date" : "2025-12-27 18:34", "tags" : [ "comic", "art" diff --git a/blog/posts/hestia/meta.json b/blog/posts/hestia/meta.json index 8fc8bfa..fd3e1c0 100644 --- a/blog/posts/hestia/meta.json +++ b/blog/posts/hestia/meta.json @@ -1,6 +1,6 @@ { "title" : "Hestia: the homemade home assistant", - "publish_date" : "2025-01-29", + "publish_date" : "2025-01-29 13:27", "tags" : [ "hestia", "voice_assistant", diff --git a/blog/posts/let-there-be-light-theme/meta.json b/blog/posts/let-there-be-light-theme/meta.json index 4b0daaa..fec1a1c 100644 --- a/blog/posts/let-there-be-light-theme/meta.json +++ b/blog/posts/let-there-be-light-theme/meta.json @@ -1,6 +1,6 @@ { "title" : "Let there be light theme...", - "publish_date" : "2024-06-23", + "publish_date" : "2024-06-23 16:23", "tags" : [ "website" ] diff --git a/blog/posts/making-this-blog/meta.json b/blog/posts/making-this-blog/meta.json index ea9eacf..1e3c5b5 100644 --- a/blog/posts/making-this-blog/meta.json +++ b/blog/posts/making-this-blog/meta.json @@ -1,6 +1,6 @@ { "title" : "Making this blog", - "publish_date" : "2024-07-03", + "publish_date" : "2024-07-03 19:22", "tags" : [ "website", "css", diff --git a/blog/posts/still-working-on-this/meta.json b/blog/posts/still-working-on-this/meta.json index 6bdd67e..107f450 100644 --- a/blog/posts/still-working-on-this/meta.json +++ b/blog/posts/still-working-on-this/meta.json @@ -1,6 +1,6 @@ { "title" : "Still working on this website", - "publish_date" : "2024-09-22", + "publish_date" : "2024-09-22 20:13", "tags" : [ "website", "css", diff --git a/blog/templates/blogpost.html.j2 b/blog/templates/blogpost.html.j2 index 7375ee4..40dc7de 100644 --- a/blog/templates/blogpost.html.j2 +++ b/blog/templates/blogpost.html.j2 @@ -9,7 +9,7 @@

{{ post.get_prompt("stat -c %.10w content") }}
-{{ post.get_publish_time() }}

+{{ post.get_publish_date() }}


{{ post.get_cat_prompt("content") }}

diff --git a/comic/issues/1/meta.json b/comic/issues/1/meta.json index 416f3d9..03dfd7f 100644 --- a/comic/issues/1/meta.json +++ b/comic/issues/1/meta.json @@ -1,6 +1,6 @@ { "title" : "The beginning", - "publish_date" : "2025-11-28", + "publish_date" : "2025-11-28 22:23", "description" : "I have like twenty comic ideas figured out but not the title of the series.", "extra_attributes": "title=\"There are no tooltip texts in this series.\"" } diff --git a/comic/templates/issue.html.j2 b/comic/templates/issue.html.j2 index 679b778..9d1b88a 100644 --- a/comic/templates/issue.html.j2 +++ b/comic/templates/issue.html.j2 @@ -39,7 +39,7 @@