LukasJoswiak/etch

how to add menus?

Opened this issue · 2 comments

I might be missing something (I'm not a developer), but the default method to insert methods I'm used to from other themes doesn't seem to be working. I'm following the instructions from the documentation, for example

[menu]

  [[menu.main]]
    identifier = "page"
    name = "my page title"
    url = "/mypage/"
    weight = 1

Doesn't result in a menu. Is there another way to create menu items for the navigation bar?

Cheers!

Adding support for the official style of menus is on my to do list. For now, you can create menu items by creating an index.md file inside a folder in the content directory. See https://github.com/LukasJoswiak/etch/wiki/Getting-started#supporting-pages.

I see, I did it before, but I was wondering if it was the correct way to do it. Good to know. Thanks.