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

Auto-generate IDs? #177

Closed
jmuheim opened this issue Mar 26, 2015 · 1 comment
Closed

Auto-generate IDs? #177

jmuheim opened this issue Mar 26, 2015 · 1 comment

Comments

@jmuheim
Copy link

jmuheim commented Mar 26, 2015

I find it annoying that I have to specify an ID for each and every menu item manually, as I don't even need them most of the time.

Is there a way to dismiss them? When leaving the first parameter of #item nil, it still adds an id attribute, simply with no value.

@simonc
Copy link
Contributor

simonc commented Mar 26, 2015

Hi @jmuheim,

Actually it's not an id, it's an identifying key that may be used to generate ids. There is an option to disable the ids generation if you want to:

# Item keys are normally added to list items as id.
# This setting turns that off
# navigation.autogenerate_item_ids = false

@andi andi closed this as completed Apr 2, 2015
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

3 participants