mirror of
https://github.com/gohugoio/hugo.git
synced 2024-05-11 05:54:58 +00:00
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.