-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
The global var site
does not work for mixed-case Params
#5615
Comments
Here's a repo with the above minimum workable example: https://gitlab.com/hugo-mwe/hugo-issue-5615/
And you will get: |
site
does not work for custom site Paramssite
does not work for mixed-case Params
A bug, alright, but I'm pretty sure that: site.Params.mainsections Would work. |
Let me try |
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. |
The bug is as the title says.
Here's a minimum working example:
config.toml
index.html
Above prints:
Note that
site.Params.feedSections
doesn't return the expected value.The text was updated successfully, but these errors were encountered: