Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

template:feeds: add extra block #2263

Merged
merged 5 commits into from
Aug 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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