hugo/tpl
Tatsushi Demachi f3c74c9db4 Add boolean value comparison to where tpl function
`where` template function's internal condition check function doesn't
check boolean values and always returns `false` silently.

This adds missing boolean value comparison to the function.
`where Values ".Param.key" true` like clause can be used.

Only "=", "==", "eq", "!=", "<>", "ne" operators are allowed to be used
with a boolean value. If an other operator is passed with it, the
condition check function returns `false` like before.
2015-12-08 05:39:11 +09:00
..
template.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
template_embedded.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
template_funcs.go Add boolean value comparison to where tpl function 2015-12-08 05:39:11 +09:00
template_funcs_test.go Add boolean value comparison to where tpl function 2015-12-08 05:39:11 +09:00
template_resources.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
template_resources_test.go Fix copyright headers in source files 2015-12-07 19:57:01 +01:00
template_test.go Add some Ace test cases 2015-05-31 13:13:28 +02:00