Before agreeing with disparaging comments that do not respect the forum’s Community Guidelines let me just tell you that we are a group of volunteers and we like to help people, but note that our time is also limited.
By following the Requesting Help guidelines t is always faster to get meaningful help rather than posting code.
If you can please share a sample repo with the structure of your project and explain to me clearly what exactly you are trying to achieve.
i.e. Do you need to create lists of pages per Nested Section or something else?
This will make debugging easier. Also note the Hugo has the union
and intersect
functions that may assist you in rendering lists.