So I have content that is hierarchal in nature - volumes / sections / pages
I could use nested content to set this up, that part makes sense. But then how do I set up a list template that would have appropriate titles for each. Lets take the following example
But when I set up a list function, I would like it to display the following
Volume 01 - This is my first volume
Section 01 - This is a section title
– Page title for page 01
– Page title for page 02
and so on… I could use some sort of hierarchal taxonomy for this, but I also feel that would get a bit crazy to manage.
So the questions I have are:
Should I be using nested sections for this?
How do I get the list function to provide names to the different levels that don’t necessarily match the section folder titles - or do i have to give each folder title a complicated name?
(1) Subnested breaks my Latest post code - is there a way to look for the latest post easily?
(2) What list code do I need to get a full hierarchal layout?
Otherwise it just displays the top hieararchy, you click through to the next and so on. I want them to just appear as an indented list.
Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.
If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.