From 1e773f34b959a1d0cfb16190102795efdccb4eb9 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 5 May 2025 16:07:02 -0700 Subject: [PATCH] content: Fix typo --- content/en/functions/collections/Shuffle.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}