# Rss.xml is not generated

**URL:** <https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896>\
**Category:** support\
**Created:** [June 7, 2017, 10:33am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896 "2017-06-07T10:33:33Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Toorop](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@Toorop](https://discourse.gohugo.io/u/Toorop)\
**Post date:** [June 7, 2017, 10:33am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/1 "2017-06-07T10:33:34Z")

</div>

Hi,

I use the last version of hugo, and no RSS page (rss.xml) is generated.  
If i use .RSSLink in template it return empty string.  
In my config.toml i have fields needed (form [https://gohugo.io/templates/rss/](https://gohugo.io/templates/rss/))  
I use “robust” theme

Any idea ?

thx 😉

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 7, 2017, 10:55am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/2 "2017-06-07T10:55:09Z")

</div>

In your `config.toml` have you specified the parameter `RSSLink =` so that it points to `index.xml`"?

---

<div class="post-metadata">

**Author:** ![Toorop](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@Toorop](https://discourse.gohugo.io/u/Toorop)\
**Post date:** [June 7, 2017, 11:03am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/3 "2017-06-07T11:03:25Z")

</div>

No but if i try i got the same result.

Note that the main problem is that Hugo do not generate RSS feed, not that .RSSLink is empty if i use it in template (which could be explained by the fact that there is no RSS generated and nor link)

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 7, 2017, 11:06am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/4 "2017-06-07T11:06:07Z")

</div>

I’m not familiar with the theme you use. Maybe you should ask the theme’s designer on Github. Also check up on the new Output Formats documentation.

Edit  
The above parameter goes underneath your baseURL parameter in your config and it should enable the RSS feed.

Also the rss xml is typically found under the root of your domain. Where index.html is located.

---

<div class="post-metadata">

**Author:** ![Toorop](https://avatars.discourse-cdn.com/v4/letter/t/9e8a1a/32.png) [@Toorop](https://discourse.gohugo.io/u/Toorop)\
**Post date:** [June 7, 2017, 11:08am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/5 "2017-06-07T11:08:54Z")

</div>

OK i’have found the solution:

For feed to be generated you need to add:

`home = ["RSS"]`

In the _outputs_ section of the config.toml

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 7, 2017, 11:10am UTC](https://discourse.gohugo.io/t/rss-xml-is-not-generated/6896/6 "2017-06-07T11:10:10Z")

</div>

Cool. Glad you figured it out.
