Skip to content

Commit

Permalink
template:feeds: add extra block (getzola#2263)
Browse files Browse the repository at this point in the history
* template:feeds: add extra block

* add missing >

* Revert "add missing >"

This reverts commit 45c6b9c.

* Revert "template:feeds: add extra block"

This reverts commit 596f7f1.

* Update docs for feed templates
  • Loading branch information
heitorPB authored and Erwin Vrolijk committed Sep 30, 2023
1 parent ab01b34 commit 3ff0bd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/content/documentation/templates/feeds/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 3ff0bd2

Please sign in to comment.