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

Submenue in menue #8

Open
ChristianKniep opened this issue Jun 19, 2021 · 2 comments
Open

Submenue in menue #8

ChristianKniep opened this issue Jun 19, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@ChristianKniep
Copy link

Hey, awesome theme. I am using it for a freshly constituted NGO to support our local community.
I tried to create a submenue within the theme using the config.toml. But that kind of failed.

Has someone a working example of a submenue within the menue? A dropdown once you click.

@mxmehl
Copy link
Member

mxmehl commented Jun 19, 2021

As written in the README and just like its "parent" theme mainroad, the theme does not support submenus. However, I am open for pull requests.

However, I would like to avoid a dependency on heavy JS libraries like jquery. We have a menu.js file that can be extended though if necessary, or even better a pure CSS solution.

@netmic10
Copy link

Hi, I am also interested in the submenus as demonstrated here https://hugo-dpsg.pages.dev in "About Hugo" menu.

Is the pull request from emhl already merged? I don't really get it. However, submenus are not rendered in my clone of your repo so far.

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

No branches or pull requests

3 participants