From 04512297c5cd6dc7c2d8b2d3e8fc363f3f4d14f2 Mon Sep 17 00:00:00 2001 From: Aaron Honeycutt Date: Wed, 19 Feb 2025 11:01:10 -0700 Subject: [PATCH] Create feed.xml --- templates/feed.xml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 templates/feed.xml diff --git a/templates/feed.xml b/templates/feed.xml new file mode 100644 index 0000000..f0c3f7e --- /dev/null +++ b/templates/feed.xml @@ -0,0 +1,32 @@ + + + {% if section.title %}{{ section.title }}{% else %}{{ config.title }}{% endif %} + {%- if section.description %} + {{ section.description }} + {%- elif config.description %} + {{ config.description }} + {%- endif %} + + + {{ 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="%+") }} + {%- if page.summary %} + {{ page.summary }} + {%- endif %} + + {{ page.permalink | safe }} + {{ page.content }} + + {%- endfor %} +