How to disable RSS for one section

Hi, how are you?
I have 6 sections

  • Notes
  • Blog
  • Store
  • Portfolio
  • Page(houses privacy policy, uses and other similar pages)
  • Services

I’d like to disable rss feeds for Page. How can I go about it.

NB

I use

[permalinks]
pages = '/:title'

In order to serve files under content/page because without it, they would instead render like this *.com/page/privacy-policy

You can create a _index.md file in your page directory to add Front Matter to given section and edit its outputs settings to only use html:

# page/_index.md
title: Pages
outputs:
- html
2 Likes

you have to roll your own RSS template.
I’ve done it - see my sample extract

In one of the config files is the Parameter - what not to insert

HTH

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.