Skip to content

Commit

Permalink
remove rss_sections from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LDReid authored and chalin committed Oct 1, 2024
1 parent 18e9053 commit e9f6078
Showing 1 changed file with 3 additions and 24 deletions.
27 changes: 3 additions & 24 deletions userguide/content/en/docs/adding-content/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,30 +619,9 @@ You can also use this directory for other files used by your project, including

## RSS feeds

Hugo will, by default, create an RSS feed for the home page and any section. For the main RSS feed you can control which sections to include by setting a site param in your `hugo.toml`/`hugo.yaml`/`hugo.json`. This is the default configuration:

{{< tabpane >}}
{{< tab header="Configuration file:" disabled=true />}}
{{< tab header="hugo.toml" lang="toml" >}}
[params]
rss_sections = ["blog"]
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
params:
rss_sections: [blog]
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"rss_sections": [
"blog"
]
}
}
{{< /tab >}}
{{< /tabpane >}}

To disable all RSS feeds, add the following to your `hugo.toml`/`hugo.yaml`/`hugo.json`:
Hugo will, by default, create an RSS feed for the home page and any section.
To disable all RSS feeds, add the following to your
`hugo.toml`/`hugo.yaml`/`hugo.json`:

{{< tabpane >}}
{{< tab header="Configuration file:" disabled=true />}}
Expand Down

0 comments on commit e9f6078

Please sign in to comment.