From c1856d1f3edbc4b32be5860233dede88db16a7bb Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 1 Jan 2026 17:36:39 +0200 Subject: Start migrating content --- templates/atom.xml | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 templates/atom.xml (limited to 'templates/atom.xml') diff --git a/templates/atom.xml b/templates/atom.xml new file mode 100644 index 0000000..b1721ce --- /dev/null +++ b/templates/atom.xml @@ -0,0 +1,68 @@ + + + {{ config.title }} + {%- if term %} - {{ term.name }} + {%- elif section.title %} - {{ section.title }} + {%- endif -%} + + {%- if config.description %} + {{ config.description }} + {%- endif %} + + + Zola + {% if last_updated is defined %}{{ last_updated | date(format="%+") }}{% endif %} + {{ feed_url | safe }} + {%- for page in pages %} + + {{ page.title }} + {{ page.date | date(format="%+") }} + {{ page.updated | default(value=page.date) | date(format="%+") }} + {% for author in page.authors %} + + + {{ author }} + + + {% else %} + + + {%- if config.author -%} + {{ config.author }} + {%- else -%} + Unknown + {%- endif -%} + + + {% endfor %} + + {{ page.permalink | safe }} + {% if page.summary %} + {{ page.summary }} + {% else %} + + {{ page.content }} + + {% endif %} + + {%- endfor %} + -- cgit v1.3