Skip to content

Commit

Permalink
User guide: correct instructions on how to disable RSS feed (#2104)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored Nov 6, 2024
1 parent a914b38 commit 399457b
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions userguide/content/en/docs/adding-content/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -619,27 +619,23 @@ 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.
To disable all RSS feeds, add the following to your
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 />}}
{{< tab header="hugo.toml" lang="toml" >}}
[params]
disableKinds = ["RSS"]
{{< /tab >}}
{{< tab header="hugo.yaml" lang="yaml" >}}
params:
disableKinds: [RSS]
disableKinds: [RSS]
{{< /tab >}}
{{< tab header="hugo.json" lang="json" >}}
{
"params": {
"disableKinds": [
"RSS"
]
}
"disableKinds": [
"RSS"
]
}
{{< /tab >}}
{{< /tabpane >}}
Expand Down

0 comments on commit 399457b

Please sign in to comment.