fbrctr / fabricator

A tool for building website UI toolkits and style guides
http://fbrctr.github.io/
MIT License
1.11k stars 124 forks source link

Menu and data source #274

Closed danmv closed 7 years ago

danmv commented 8 years ago

Can anyone give me an example or walk me through the steps on how I can order my navigation sections and subsections in a specific order?

I would like to have my navigation be like this:

How do it setup up the f-menu.html to read from the toolkit.yml or do I need to create a f-menu.yml?

LukeAskew commented 7 years ago

I do this often with toolkits. You'll need to modify the f-menu hbs template to read from data.toolkit (if you prefer defining data in that format).

You could also just hard-code your menu items.