content: Fix typo

This commit is contained in:
Joe Mooring 2025-05-05 16:07:02 -07:00 committed by GitHub
parent 5ef94a725e
commit 1e773f34b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 . }}
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li>
{{ end }}
{{ end }}