1
I’m trying to create a topic structure to simulate a direct link menu for the post. This structure would be similar to help manuals by topic or as the chapter structure of books.
The problem is how to do it, I thought of creating the structure in config.yml by defining a tag and a title for each topic and recursively checking if there is a sub-topic. I don’t think it’s the right way, but I’ve managed a structure like this:
How I would go through this array, printing the titles and posts corresponding to these tags?
Or is there a better way?
Note: This will be on Github, so I can’t use plugins.
Why don’t you use a
.json
? something like : http://jsfiddle.net/87n3y798/ or Jekyll uses.yml
?– Sergio
Jekyll uses a . yml file for settings :)
– Alex Kleinubing
still needs the answer?
– Virtua Creative
Yes, I’m still waiting for an effective solution
– Alex Kleinubing