From 4474afae95db8f570826aa5510481ef1d00c9a1b Mon Sep 17 00:00:00 2001 From: Heitor Date: Sun, 13 Aug 2023 12:14:50 -0300 Subject: [PATCH] template:feeds: add extra block (#2263) * template:feeds: add extra block * add missing > * Revert "add missing >" This reverts commit 45c6b9c6eb0d9964fa6c2b4fcc7152c1b31bf1d6. * Revert "template:feeds: add extra block" This reverts commit 596f7f1e7f3b221ad06cbde557e06ec4980e166f. * Update docs for feed templates --- docs/content/documentation/templates/feeds/index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/documentation/templates/feeds/index.md b/docs/content/documentation/templates/feeds/index.md index e133192317..4ceea0cbb7 100644 --- a/docs/content/documentation/templates/feeds/index.md +++ b/docs/content/documentation/templates/feeds/index.md @@ -15,6 +15,12 @@ for `atom.xml` (in the preferred Atom 1.0 format), and `rss.xml` (in the RSS 2.0 format). If you choose a different filename (e.g. `feed.xml`), you will need to provide a template yourself. +In case you want to extend, or modify, the built-in templates, you can get a +copy from [the source code here](https://github.com/getzola/zola/tree/master/components/templates/src/builtins) +and place it in the `templates/` directory with the appropriate name. You can +check the documentation for the specifications for Atom 1.0 and RSS 2.0 in +[W3C Feed Validation Service](https://validator.w3.org/feed/docs/). + **Only pages with a date will be available.** The feed template gets five variables: