hugo/docs/content/en/methods/pages/Limit.md
2023-12-04 15:24:01 +01:00

326 B

title description categories keywords action
Limit Returns the first N pages from the given page collection.
related returnType signatures
page.Pages
PAGES.Limit NUMBER
{{ range .Pages.Limit 3 }}
  <h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
{{ end }}