How to create an outline with Jekyll / Liquid

1

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:

link

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.

    
asked by anonymous 04.09.2015 / 15:22

0 answers