From ba4e78346aac1843890c1a889807b8e60bdf9419 Mon Sep 17 00:00:00 2001 From: Philipp Geyer Date: Sat, 22 Jan 2022 14:12:35 +0000 Subject: Some work on my website - should be looking half decent finally, and have some content --- theme/templates/feed.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 theme/templates/feed.xml (limited to 'theme/templates/feed.xml') diff --git a/theme/templates/feed.xml b/theme/templates/feed.xml new file mode 100644 index 0000000..5cf001c --- /dev/null +++ b/theme/templates/feed.xml @@ -0,0 +1,44 @@ + + + + Simple Blog + + {{ url_for("index") }} + + en + {{ posts | first | getattr("date") | strftime("%a, %d %b %Y %H:%M:%S %z") }} + {{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }} + {{ meta.generator }} + web@master (Blog Author) + + {{ url_for("index") }}media/img/8bitme.png + Blog Author + {{ url_for("index") }} + + + {% for post in posts %} + + {{ post.title }} + {{ url_for("posts", slug=post.slug) }} + {{ post.author|default("author@mail.com (Blog Author)") }} + {{ url_for("posts", slug=post.slug) }} + {% if post.date is defined %} + {{ post.date|strftime("%a, %d %b %Y %H:%M:%S %z") }} + {% endif %} + + + {% endfor %} + + + -- cgit v1.2.3-70-g09d2