diff --git a/content/docs/reference/templates/functions.md b/content/docs/reference/templates/functions.md index f8d118c..77e021b 100644 --- a/content/docs/reference/templates/functions.md +++ b/content/docs/reference/templates/functions.md @@ -1724,7 +1724,7 @@ the end. #### printf ```yag -{{ $result := }} +{{ $result := printf }} ``` Interpolates `args...` according to `format`. See the [Go `fmt` package documentation](https://pkg.go.dev/fmt). @@ -2402,7 +2402,7 @@ start index and the subslice extends to the end of `item`. #### sort ```yag -{{ $sorted := [options] }} +{{ $sorted := sort [options] }} ``` Returns the given list in a sorted order. The list's items must all be of the same type. The optional `options` argument