I am still trying to wrap my head around the way menus work in Hugo, can somebody lend a helping hand?
I have the pages organised in subdirectories much like the example in Hugo docs
├───colour │ │ │ ├───warm │ │ ├───orange │ │ ├───red │ │ └───yellow │ │ │ └───cool │ ├───blue │ ├───green │ └───purple │ └───tool ├───hammer ├───shovel └───saw
and I want to render this hierarchy as is in a sidebar.
I tried to use various
.Data.Pages.* methods mentioned in docs but they won’t render anything, I tried to put some random text in the loop but it wouldn’t print the text either.
Can anyone give me any pointer?