mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-24 03:33:50 +00:00
56534beaf6
sort template function returns `[]interface{}` type slice value regardless of its original element type. This fixes it to keep the original element type. For example, if it sorts `map[string]int` type value, it returns `[]int` slice value instead of `[]interface{}` slice value. |
||
---|---|---|
.. | ||
template.go | ||
template_embedded.go | ||
template_funcs.go | ||
template_funcs_test.go | ||
template_resources.go | ||
template_resources_test.go | ||
template_test.go |