hugo/tpl
Cameron Moore d15fda5000 tpl: Fix panic in pairList.Less
While sorting on data sources with missing fields, a panic can occur in
pairList.Less if `Interface()` is called on a invalid `reflect.Value`.
This commit detects an invalid Value and replacing it with a zero value
for the comparison.
2016-04-02 23:01:36 +02:00
..
reflect_helpers.go Make where accept slice 2016-03-06 13:15:07 +01:00
template.go Add readFile template func 2016-03-31 21:24:18 +02:00
template_embedded.go Allow picking a specific file out of a gist 2016-03-11 18:29:07 +01:00
template_funcs.go tpl: Fix panic in pairList.Less 2016-04-02 23:01:36 +02:00
template_funcs_test.go tpl: Fix panic in pairList.Less 2016-04-02 23:01:36 +02:00
template_resources.go tpl: Make readDir use the WorkingDir fs 2016-03-31 23:06:51 +02:00
template_resources_test.go Add readFile template func 2016-03-31 21:24:18 +02:00
template_test.go Add readFile template func 2016-03-31 21:24:18 +02:00