From d1d65c94b888c2959c9da799e4329161ede449ea Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 20 Jan 2023 12:06:49 +0100 Subject: Made Riker into a Zola-theme - Rikerz --- templates/rss.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 templates/rss.xml (limited to 'templates/rss.xml') diff --git a/templates/rss.xml b/templates/rss.xml new file mode 100644 index 0000000..ce12795 --- /dev/null +++ b/templates/rss.xml @@ -0,0 +1,32 @@ + + + + {{ config.title }} + {%- if term %} - {{ term.name }} + {%- elif section.title %} - {{ section.title }} + {%- endif -%} + + {%- if section -%} + {{ section.permalink | escape_xml | safe }} + {%- else -%} + {{ config.base_url | escape_xml | safe }} + {%- endif -%} + + {{ config.description }} + Zola + {{ lang }} + + {{ last_updated | date(format="%a, %d %b %Y %H:%M:%S %z") }} + {%- for page in pages %} + {%- if not page.extra.hidden|default(value=false) %} + + {{ page.title }} + {{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }} + {{ page.permalink | escape_xml | safe }} + {{ page.permalink | escape_xml | safe }} + {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %} + + {%- endif %} + {%- endfor %} + + -- cgit v1.2.3