Exclude pages from rss/atom feed

Hello,

hoping someone can help me out with this, as I couldn’t find out how to do it.
I’ve set up the atom feed, but it includes pages like “About” and “Contact me”. How can I select what pages or directory should be considered when generating the feed? I’d like to have only articles under ‘/blog’ in it. Is there some option I can set in the pages metadata to disable feed generation for a specific page?

Thanks for any help!

I believe the simplest way is to not include a date field in the front matter of the pages you don’t want to include.

Otherwise, add generate_feed = true to the _index of your blog collection and it will generate at /blog/rss.xml a feed with just files from that collection