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

Is there a solution to use secondary menu? #1924

Closed
helianthuswhite opened this issue Oct 8, 2017 · 6 comments
Closed

Is there a solution to use secondary menu? #1924

helianthuswhite opened this issue Oct 8, 2017 · 6 comments

Comments

@helianthuswhite
Copy link

I wanna use a secondary menu to link some static pages. It seems Next can't do this.

@ivan-nginx
Copy link
Collaborator

Can u tell some more about what u exactly want? Because it seems NexT can do this, if i right understand.

@Neveryu
Copy link

Neveryu commented Oct 10, 2017

i think NexT can do it also.
U must used absolute path in _config.yml.
link this:

menu:
  google: https://www.google.com

then.
U will link google in your menu ,and other static pages also use this methods.
🌮

@helianthuswhite
Copy link
Author

Thanks for comments. @Neveryu @ivan-nginx

Maybe i didn't describe my question clearly.

I wish i can edit like this in the _config.yml.

menu:
    ARCHIVE:
        Sub Item 1: /url
        Sub Item 2: /url
        Sub Item 3: /url
        Sub Item 4: /url
    OTHER: /url

Then i get like this.

image

@ivan-nginx
Copy link
Collaborator

This called submenu, not secondary menu. And no, NexT did not support this function for now.

@helianthuswhite
Copy link
Author

Ok, thanks a lot.

@ivan-nginx
Copy link
Collaborator

@helianthuswhite already implemented in this pull as sub-menu feature.

Repository owner locked as resolved and limited conversation to collaborators Mar 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants