hugo/tpl/tplimpl
Bjørn Erik Pedersen 5c5384916e tpl/tplimpl: Reimplement the ".Params tolower" template transformer
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
2018-08-14 17:54:48 +02:00
..
embedded tpl: Suppress blank lines from opengraph internal template 2018-08-12 12:27:38 -06:00
ace.go
amber_compiler.go
template.go
template_ast_transformers.go tpl/tplimpl: Reimplement the ".Params tolower" template transformer 2018-08-14 17:54:48 +02:00
template_ast_transformers_test.go tpl/tplimpl: Reimplement the ".Params tolower" template transformer 2018-08-14 17:54:48 +02:00
template_funcs.go tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
template_funcs_test.go Add a newScratch template func 2018-07-06 17:51:38 +02:00
template_test.go
templateFuncster.go
templateProvider.go