We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm getting this error: "theme/partials/header.html" at <.Permalink>: can't evaluate field Permalink in type *hugolib.MenuEntry
When trying to utilize the extra nav:
[[menu.extra]] name = "Contact" permalink = "something"
Looks like Hugo doesn't support the permalink field?
Switching it in the theme's header.html from
header.html
<a href="{{ .Permalink }}">{{ .Name }}</a>
to
<a href="{{ .URL }}">{{ .Name }}</a>
to match the main menu nav works.
I'm super new to Hugo so I'm not sure if that's the actual correct fix or not. But if you want a PR for it I can make it.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting this error: "theme/partials/header.html" at <.Permalink>: can't evaluate field Permalink in type *hugolib.MenuEntry
When trying to utilize the extra nav:
Looks like Hugo doesn't support the permalink field?
Switching it in the theme's
header.html
fromto
to match the main menu nav works.
I'm super new to Hugo so I'm not sure if that's the actual correct fix or not. But if you want a PR for it I can make it.
The text was updated successfully, but these errors were encountered: