My site has the content structure shown below (there are more nested sections not included here). The _index.md file for the blog section has a cascade of type: post. I would like to show the regular page with pagination within the blog layout, but only the nested sections appear on the /blog/ page when $paginator.Pages is called. I want to know if this is possible to achieve this (and how to) without having to set layout/type params in every post.
So doing {{ range $paginator.Pages }} messes the whole thing up.
Indeed! Same result. Removing the _index.md file from the nested section, or moving posts from nested section to the root of the blog page works, but that is not my intended result. I am avoiding using frontmatter params (and taxonomies) since I move my content between sections/nested sections now and then or add new content/remove old content occasionally.