From 6eb7c48b52bbdc0e29ff77b33520122d9a1124d1 Mon Sep 17 00:00:00 2001 From: Peng Guanwen Date: Thu, 31 Oct 2024 18:02:01 +0800 Subject: [PATCH] Add follow challenge to rss --- templates/rss.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 templates/rss.xml diff --git a/templates/rss.xml b/templates/rss.xml new file mode 100644 index 0000000..d5d8ac7 --- /dev/null +++ b/templates/rss.xml @@ -0,0 +1,45 @@ + + + + {{ 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") }} + + + 74749384348414976 + 74745960279982080 + + {%- for page in pages %} + + {{ page.title }} + {{ page.date | date(format="%a, %d %b %Y %H:%M:%S %z") }} + + {%- if page.authors -%} + {{ page.authors[0] }} + {%- elif config.author -%} + {{ config.author }} + {%- else -%} + Unknown + {%- endif -%} + + {{ page.permalink | escape_xml | safe }} + {{ page.permalink | escape_xml | safe }} + {% if page.summary %}{{ page.summary }}{% else %}{{ page.content }}{% endif %} + + {%- endfor %} + +