hugo/tpl
Tatsushi Demachi 51cabe6faf Fix substr tpl func's int type variant issue
`substr` template function takes one or two range arguments. Both
arguments must be int type values but if it is used with a calclation
function e.g. `add`, `len` etc, it causes a wrong type error.

This fixes the issue to allow the function to take other integer type
variant like `int64` etc.

This also includes a small fix on no range argument case.

Fix #1190
2015-06-06 21:03:30 +02:00
..
template.go Add some Ace test cases 2015-05-31 13:13:28 +02:00
template_embedded.go
template_funcs.go Fix substr tpl func's int type variant issue 2015-06-06 21:03:30 +02:00
template_funcs_test.go Fix substr tpl func's int type variant issue 2015-06-06 21:03:30 +02:00
template_resources.go GetJSON/GetCSV: Add retry on invalid content 2015-06-01 12:05:16 +02:00
template_resources_test.go GetJSON/GetCSV: Add retry on invalid content 2015-06-01 12:05:16 +02:00
template_test.go Add some Ace test cases 2015-05-31 13:13:28 +02:00