1
0
Fork 0
mirror of https://github.com/gohugoio/hugo.git synced 2025-04-27 20:51:21 +00:00
hugo/tpl
Cameron Moore fe929114d3 tpl: Fix panic in sort of nil sequence
Properly handle a nil sequence in the sortSeq function.  Test included.
Discovered while using `range sort .Site.Data.source.Undefined "foo"`.
2016-04-02 23:06:48 +02:00
..
reflect_helpers.go
template.go
template_embedded.go
template_funcs.go tpl: Fix panic in sort of nil sequence 2016-04-02 23:06:48 +02:00
template_funcs_test.go tpl: Fix panic in sort of nil sequence 2016-04-02 23:06:48 +02:00
template_resources.go
template_resources_test.go
template_test.go