Log in Sign up

Can’t nest folders?

I joined Blot tonight and I'm trying to make things work, but it seems you can't nest folders?

So if I have:

pages/dogs/index.md
pages/dogs/labrador.md
pages/dogs/corgi.md
pages/dogs/hound.md

Then at the top, my menu now contains: Dogs, Labrador, Corgi, Hound. I just want the menu to contain Dogs, and then go to dogs/index.md, and then I'll link to the other pages separately.

But it seems that nesting does nothing, that every single page you create will show up in the menu bar automatically?

1 replies

Blot doesn't support nested pages out-of-the-box but you can add some metadata to your files to make this work the way you'd like. For example, add the following metadata at the start of corgi.md, labrador.md and hound.md, adjusting the link property as needed:

Menu: no
Link: /dogs/labrador

Then add the links in the way that suits you to index.md:

- [Labrador](/dogs/labrador)
- [Corgi](/dogs/corgi)
- [Hound](/dogs/hound)

Does that help? Please let me know if you have any questions about this or anything else

Answered 3 months ago · Improve this answer

Markdown allowed
Question or feedback?
Contact us

Tags

developers 61 questions bug 30 questions templates 21 questions posts 20 questions meta 19 questions metadata 17 questions resolved 16 questions how 12 questions markdown 9 questions tags 9 questions More tags →
Subscribe for changes
RSS Feed of latest questions