-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Page variables for Identifier and Name ignored #817
Comments
Thanks for the detailed report. I will check this (as I have rumbled around in the menu code).
|
Yeah, that would make sense - from reading the documentation I expect Thanks for looking into this. On 22 January 2015 at 20:28, Bjørn Erik Pedersen
|
The correct would be (in YAML):
|
I'm not able to reproduce this the latest codebase. Do you have any public project that reproduces this? |
13-DEV built off master as of yesterday And yes http://github.com/bguiz/js-standards I don't think that I committed name and identifier since they didn't work,
I would like to have both of these define the same linktitle in their front
|
2015-01-22T11:46:04+11:00 On 23 January 2015 at 08:49, Brendan Graetz brendan.graetz@gmail.com
|
Bjørn, I'm sorry, it looks like this was a mistake on my part. I re-read On 23 January 2015 at 09:19, Brendan Graetz brendan.graetz@gmail.com
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In the documentation for menus, under the "Nesting" section:
http://gohugo.io/extras/menus/#toc_5
This is excellent, and precisely what I need, because I have two different pages under different submenus, which I wish to generate, where they have the same name (but should have different identities).
However, when I insert either a
name
or anidentifier
to the front matter yaml of my page, it appears to ignored, an I continue getting the same error as before:Checking elsewbhere in the documentation, I find the list of accepted fields for the pages' front matter:
http://gohugo.io/templates/variables/#toc_0
.Title
and.LinkTitle
.Identifier
and.Name
, which I expect it to.. which does explain why it is getting ignored.
Could we please get the method described in the "menu" documentation, "The following order is used to determine identity Identifier > Name > LinkTitle > Title" implemented please?
The text was updated successfully, but these errors were encountered: