mirror of
https://github.com/gohugoio/hugo.git
synced 2024-12-02 00:00:12 -05:00
cae07ce84b
Fixes #5235
555 B
555 B
title | linktitle | description | godocref | date | publishdate | lastmod | categories | menu | keywords | signature | workson | hugoversion | relatedfuncs | deprecated | aliases | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
first | first | Slices an array to only the first _N_ elements. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
|
|
|
false |
{{ range first 10 .Pages }}
{{ .Render "summary" }}
{{ end }}
Note: Exclusive to first
, LIMIT can be '0' to return an empty array.