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
Maybe this isn't so important with images, but it is very important with things like:
assets/ ├── 401K Prospectus.pdf ├── Employment Agreement.pdf └── Non-disclosure Agreement.pdf
{{ with resources.Get "401K Prospectus.pdf" }} {{ .RelPermalink }} --> 401K Prospectus.pdf {{ end }}
{{ with resources.GetMatch "401K Prospectus.pdf" }} {{ .RelPermalink }} --> 401k-prospectus.pdf {{ end }}
{{ with resources.Match "401K Prospectus.pdf" }} {{ .RelPermalink }} --> 401k-prospectus.pdf {{ end }}
{{ range resources.ByType "application" }} {{ .RelPermalink }} --> 401k-prospectus.pdf, etc. {{ end }}
This does not happen with v0.122.0, nor does it affect the corresponding methods on Page.
Reference: https://discourse.gohugo.io/t/hugo-v0-123-image-resources-being-converted-to-lowercase/48581/2
The text was updated successfully, but these errors were encountered:
Fix resources.GetMatch, resources.Match, and resources.ByType to they…
7040aec
… don't normalize permalinks Fixes gohugoio#12182
409dec9
7023cf0
Thank you!
Sorry, something went wrong.
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.
bep
No branches or pull requests
Maybe this isn't so important with images, but it is very important with things like:
resources.Get (PASS)
resources.GetMatch (FAIL)
resources.Match (FAIL)
resources.ByType (FAIL)
This does not happen with v0.122.0, nor does it affect the corresponding methods on Page.
Reference: https://discourse.gohugo.io/t/hugo-v0-123-image-resources-being-converted-to-lowercase/48581/2
The text was updated successfully, but these errors were encountered: