Len
Returns the number of pages in the given page collection.
Syntax
PAGES.Len
Returns
int
{{ .Pages.Len }} → 42
Last updated:
March 5, 2025
:
content: Consolidate configuration documentation (b6cae5cbc)
Improve this pageHugo Documentation
Syntax
Returns
{{ .Pages.Len }} → 42