Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
suar3zz opened this issue Nov 10, 2023 · 1 comment
Open

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

suar3zz opened this issue Nov 10, 2023 · 1 comment

Comments

@suar3zz
Copy link

suar3zz commented Nov 10, 2023

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:

  • WriteUps
    • Folder1
    • Folder2
    • Folder3
    • Folder4
      ...

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants