# How to disable RSS for one section

**URL:** <https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994>\
**Category:** support\
**Created:** [October 4, 2021, 9:50am UTC](https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994 "2021-10-04T09:50:37Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephenajulu](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/stephenajulu/32/12169_2.png) [@stephenajulu](https://discourse.gohugo.io/u/stephenajulu)\
**Post date:** [October 4, 2021, 9:50am UTC](https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994/1 "2021-10-04T09:50:37Z")

</div>

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

```auto
[permalinks]
pages = '/:title'

```

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

---

<div class="post-metadata">

**Author:** ![regis](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/regis/32/4958_2.png) [@regis](https://discourse.gohugo.io/u/regis)\
**Post date:** [October 4, 2021, 2:25pm UTC](https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994/2 "2021-10-04T14:25:27Z")

</div>

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`:

```auto
# page/_index.md
title: Pages
outputs:
- html

```

---

<div class="post-metadata">

**Author:** ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)\
**Post date:** [October 4, 2021, 2:42pm UTC](https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994/3 "2021-10-04T14:42:11Z")

</div>

you have to roll your own RSS template.  
I’ve done it - see my [sample extract](https://github.com/gj52/HugoSample/tree/master/themes/photon/layouts/_default)

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

HTH

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [October 6, 2021, 2:42pm UTC](https://discourse.gohugo.io/t/how-to-disable-rss-for-one-section/34994/4 "2021-10-06T14:42:49Z")

</div>

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