thiagorossener / jekflix-template

A Jekyll theme inspired by Netflix. 🎬
https://jekflix.rossener.com/
Other
855 stars 1.18k forks source link

Creating a submenu in template (_config.yml) #209

Open suar3zz opened 1 year ago

suar3zz commented 1 year ago

Good afternoon.

First of all, thank you very much for this template that I find great and it will be very helpful to make my website.

However, I have a question: I am modifying the menu and, for example, I want to create a new section inside the menu called "WriteUps". That is easy, since it would be done this way by modifying the _config.yml file dentro de la variable menu: :

- title: WriteUps
    url: writeups

However, within that menu called WriteUps, I would like to create submenus where to put all my posts, i.e., for example, like this. I put the directory tree as I would like my menu to be more graphic:

I have tried something and that is to perform it this way, thinking it would work:

- title: WriteUps
    url: writeups/folder1
- title: WriteUps
    url: writeups/folder2
- title: WriteUps
    url: writeups/folder3
- title: WriteUps
    url: writeups/folder4

However, this way has not worked for me.

In the template documentation it does not appear how to do this, could you help me with this issue? Thank you so much. Best regards.

aiyobudui commented 10 months ago

我也正需要这个功能,我试图更新过插件,但是失败了,现在有v2版本的插件。由于我是新手,无法适配。