From 23821211e03cd69cf87b2f264b48e0125fcac29d Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Mon, 3 Aug 2026 13:22:07 +0300 Subject: Add gemini protocol --- templates_html/atom.xml | 68 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 templates_html/atom.xml (limited to 'templates_html/atom.xml') diff --git a/templates_html/atom.xml b/templates_html/atom.xml new file mode 100644 index 0000000..b1721ce --- /dev/null +++ b/templates_html/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