mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-26 03:12:43 +00:00
All `.Params` are stored lowercase, but it should work to access them `.Page.camelCase` etc. There was, however, some holes in the logic with the old transformer. This commit fixes that by applying a blacklist instead of the old whitelist logic. `.Param` is a very distinct key. The original case will be kept in `.Data.Params.myParam`, but other than that it will be lowercased. Fixes #5068 |
||
---|---|---|
.. | ||
embedded | ||
ace.go | ||
amber_compiler.go | ||
template.go | ||
template_ast_transformers.go | ||
template_ast_transformers_test.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_test.go | ||
templateFuncster.go | ||
templateProvider.go |