My main RSS feed just contains the summary which is what I want. But I also want a second RSS feed with full entries.
I began by adding /content/rss_full.md. I used this front matter:
{
"outputs":["xml"],
"layout":"rssfull"
}
I then built layouts/_default/rssfull.xml. I started by simply copying index.rss.xml.
The first problem involves caching. While running hugo, I can go to localhost:1313/rss_full/index.xml and see the XML load up. I’ve tweaked the title from the original RSS template and it clearly shows the new title. However, when I edit the file and reload, I’m not seeing my change. If I kill hugo and restart it, it works fine.
Secondly, is there any reason why this is not finding any entries?
{{ range first 10 (where .Data.Pages.ByDate.Reverse "Section" "post")}}