A site has many sections and I’d like to have a partial that outputs a list of all sibling pages within that current section. Each section has an _index.md but this page isn’t a listing page its just another sibling page. Is there any way to grab a list that includes the _index,md page? I’ve been using
.CurrentSection.Pages which is great it returns all the pages but no _index page.
I can manually prepend it to my list as removing the _index means the section isn’t a real section and
.CurrentSection.Pages stops working as I’d like. I can’t really have _index.md as a blank page as its needed to ensure it acts like a section so its a dilemma.
My interpretation of the documentation is that this isn’t possible but any ideas would be appreciated, thanks.
/section/_index.md /section/activity.md /section/response.md /section/conculsion.md