2017-10-01 03:51:43 +00:00
|
|
|
+++
|
|
|
|
title = "RSS"
|
|
|
|
weight = 50
|
|
|
|
+++
|
|
|
|
|
2018-07-08 15:21:24 +00:00
|
|
|
If the site `config.toml` file sets `generate_rss = true`, then Gutenberg will
|
|
|
|
generate an `rss.xml` page for the site, which will live at `base_url/rss.xml`. To
|
|
|
|
generate the `rss.xml` page, Gutenberg will look for a `rss.xml` file in the `templates`
|
|
|
|
directory or, if one does not exist, will use the use the built-in rss template.
|
2017-10-01 03:51:43 +00:00
|
|
|
|
|
|
|
**Only pages with a date and that are not draft will be available.**
|
|
|
|
|
|
|
|
The RSS template gets two variables in addition of the config:
|
|
|
|
|
|
|
|
- `last_build_date`: the date of the latest post
|
|
|
|
- `pages`: see [the page variables](./documentation/templates/pages-sections.md#page-variables) for
|
2017-10-19 11:48:50 +00:00
|
|
|
a detailed description of what this contains
|