diff --git a/content/en/functions/collections/Shuffle.md b/content/en/functions/collections/Shuffle.md index a2cb03b24..e752fda6e 100644 --- a/content/en/functions/collections/Shuffle.md +++ b/content/en/functions/collections/Shuffle.md @@ -36,7 +36,7 @@ For better performance with large collections, use the [`math.Rand`] and [`colle {{ $p := site.RegularPages }} {{ range seq 5 }} {{ with math.Rand | mul $p.Len | math.Floor | int }} - {{ with index $p . }} + {{ with collections.Index $p . }}
  • {{ .LinkTitle }}
  • {{ end }} {{ end }}