mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 08:18:55 -04:00
content: Fix typo
This commit is contained in:
parent
5ef94a725e
commit
1e773f34b9
@ -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 }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user