From 8b2f08271272843778571e967461d00b027d1d99 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 15 Jun 2020 12:07:00 +0200 Subject: Use `feed.xml` as location for atom feed. --- templates/feed.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 templates/feed.xml (limited to 'templates') diff --git a/templates/feed.xml b/templates/feed.xml new file mode 100644 index 0000000..d3d384a --- /dev/null +++ b/templates/feed.xml @@ -0,0 +1,23 @@ + + + {{ config.title }} + {%- if term %} - {{ term.name }} + {%- endif -%} + + {{ trans(key="description", lang=lang) }} + + + Zola + {{ last_updated | date(format="%+") }} + {{ feed_url | safe }} + {%- for page in pages %} + + {{ page.title }} + {{ page.date | date(format="%+") }} + {{ page.updated | default(value=page.date) | date(format="%+") }} + + {{ page.permalink | safe }} + {{ page.content }} + + {%- endfor %} + -- cgit v1.2.3