I'm trying to create an outline to simulate a menu with direct link to the post. This structure would be similar to the help manuals by topics or as the chapter structure of the books.
The problem is how to do it, I thought about creating the structure in config.yml by defining a tag and a title for each topic and checking recursively if there is a sub-topic. I do not think it's the right way, but I've managed a structure like this:
How would I run this array, printing the titles and posts corresponding to these tags?
Or is there a better way?
Note: This will stay in GitHub, so I can not use plugins.