Sorry if I get this wrong, but what about
{{range .RegularPages }}
? That will go through all your pages and create an RSS feed (if you replace it for the two range
lines in your sample).
That feed will be large.
Some sidenotes:
- I don’t understand why you have a RSS layout for each section, this might not be connected, but what changes between sections? - show us your code
- what happens when you remove the second
range
line (that one creates items for only pages that have no layout set?)
I think best would be if you could publish a minimal repo with your layout files and some contents to go through…