hugo/tpl
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
..
cast
collections
compare
crypto
data
encoding
fmt
images
inflect
internal
lang
math
os Remove alias of os.Stat 2018-08-06 09:54:26 +02:00
partials tpl/partials: Remove superflous loop 2018-07-31 13:28:15 +02:00
path
resources Add support for minification of final output 2018-08-06 19:58:41 +02:00
safe
strings
templates tpl/partials: Add templates.Exists 2018-07-31 13:28:15 +02:00
time
tplimpl tpl/tplimpl: Reimplement the ".Params tolower" template transformer 2018-08-14 17:54:48 +02:00
transform
urls Add optional lang as argument to rel/relref 2018-07-18 00:07:20 +02:00
template.go