From 96d437baab4a622eb540719feb90ea810fb01756 Mon Sep 17 00:00:00 2001 From: Dmitry Ilvokhin Date: Sat, 19 Apr 2025 21:43:53 +0100 Subject: Add support for atom / rss feed Date format was changed to support `updated` in ISO format. Now every post will require date and time, which might be a usability regression, but we'll see. Also, `updated` field was introduced in metadata. If there is no such field, them date field will be used instead. --- templates/post.html | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html index 20c3ac2..f61a2bd 100644 --- a/templates/post.html +++ b/templates/post.html @@ -22,9 +22,14 @@

{{ title }}

- + + + {% if date != updated %} + (updated ) + {% endif %} + {% if status == "draft" %} • {{ status }} {% endif %} -- cgit v1.2.3-70-g09d2