zola/docs/content/documentation/templates/rss.md
photong 51d4b6bd6a Simple clean up of documentation. (#849)
* Update installation.md

* Update cli-usage.md

* Update installation.md

* Update directory-structure.md

* Update configuration.md

* Update overview.md

* Update section.md

* Update page.md

* Update section.md

* Update configuration.md

* Update page.md

* Update section.md

* Update page.md

* Update shortcodes.md

* Update linking.md

* Update table-of-contents.md

* Update syntax-highlighting.md

* Update taxonomies.md

* Update search.md

* Update sass.md

* Update index.md

* Update multilingual.md

* Update overview.md

* Update pages-sections.md

* Update pagination.md

* Update taxonomies.md

* Update rss.md

* Update sitemap.md

* Update robots.md

* Update 404.md

* Update archive.md

* Update overview.md

* Update installing-and-using-themes.md

* Update creating-a-theme.md

* Update netlify.md

* Update github-pages.md

* Update gitlab-pages.md

* Update index.md

* Update page.md

* Update section.md

* Updates.
2020-02-02 17:48:42 -08:00

712 B

+++ title = "RSS" weight = 50 +++

If the site config.toml file sets generate_rss = true, then Zola will generate an rss.xml page for the site, which will live at base_url/rss.xml. To generate the rss.xml page, Zola will look for an rss.xml file in the templates directory or, if one does not exist, it will use the use the built-in rss template.

Only pages with a date will be available.

The RSS template gets three variables in addition to config:

  • feed_url: the full url to that specific feed
  • last_build_date: the date of the latest post
  • pages: see page variables for a detailed description of what this contains