# \[Solved\] Podcast Feed not being built

**URL:** <https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955>\
**Category:** support\
**Created:** [May 12, 2018, 7:08am UTC](https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955 "2018-05-12T07:08:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)\
**Post date:** [May 12, 2018, 7:08am UTC](https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955/1 "2018-05-12T07:08:26Z")

</div>

I’m working on a new Hugo theme, and I’m having trouble building a customised RSS feed.

The project is [on github](https://github.com/funkydan2/alpha-church), and my attempt at a custom podcast is [here](https://github.com/funkydan2/alpha-church/blob/master/layouts/sermons/sermons.rss.xml).

At the moment, I can’t see any evidence that the file is being built. If I build the site (just running `Hugo -v`) the output to `/sermons/index.xml` is the standard Hugo RSS feed. Nothing is created at `/sermons/sermon.rss.xml`.

I’m guessing the problem has something to do with template lookup order, but it’s got me beat!

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [May 12, 2018, 8:50am UTC](https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955/2 "2018-05-12T08:50:57Z")

</div>

Change [https://github.com/funkydan2/alpha-church/blob/632572227cda0f3f0ec7fec1917b3f422c67edfa/layouts/sermons/sermons.rss.xml#L34](https://github.com/funkydan2/alpha-church/blob/632572227cda0f3f0ec7fec1917b3f422c67edfa/layouts/sermons/sermons.rss.xml#L34) to

`{{ range .Data.Pages }}`

It is scoped for the section, no extra parameters needed.

---

<div class="post-metadata">

**Author:** ![funkydan2](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/funkydan2/32/5636_2.png) [@funkydan2](https://discourse.gohugo.io/u/funkydan2)\
**Post date:** [May 12, 2018, 9:09am UTC](https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955/3 "2018-05-12T09:09:27Z")

</div>

That is brilliant @maiki. Thanks!

---

<div class="post-metadata">

**Author:** ![kaushalmodi](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/kaushalmodi/32/2567_2.png) [@kaushalmodi](https://discourse.gohugo.io/u/kaushalmodi)\
**Post date:** [May 12, 2018, 9:43am UTC](https://discourse.gohugo.io/t/solved-podcast-feed-not-being-built/11955/4 "2018-05-12T09:43:04Z")

</div>

> [@maiki](#):
>
> {{ range .Data.Pages }}

As a side, the `.Data` portion is redundant in this case… just `{{ range .Pages }}` would work (_The doc site has yet to be updated with this change._)
