From 41bd0ad58e44244fe67cb36e066d4bb68738516f Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Fri, 29 Mar 2024 01:30:23 -0500 Subject: massive re-write from org-publish to weblorg --- theme/templates/atom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 theme/templates/atom.xml (limited to 'theme/templates/atom.xml') diff --git a/theme/templates/atom.xml b/theme/templates/atom.xml new file mode 100644 index 0000000..8ff1e30 --- /dev/null +++ b/theme/templates/atom.xml @@ -0,0 +1,42 @@ + + + + {{ site_name | default("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 }} + {{ site_owner | default("hello@cleberg.net") }} + + {{ url_for("index") }}media/img/8bitme.png + Blog Author + {{ url_for("index") }} + + + {% for post in posts %} + + {{ post.title }} + {{ url_for("blog", slug=post.slug) }} + {{ post.author|default("hello@cleberg.net") }} + {{ url_for("blog", slug=post.slug) }} + {{ post.date|strftime("%a, %d %b %Y %H:%M:%S %z") }} + + + {% endfor %} + + + -- cgit v1.2.3-70-g09d2