mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-21 21:35:28 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -3,16 +3,13 @@ title: Pages
|
||||
description: Returns a collection of all pages.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related:
|
||||
- methods/site/AllPages
|
||||
- methods/site/RegularPages
|
||||
- methods/site/Sections
|
||||
returnType: page.Pages
|
||||
signatures: [SITE.Pages]
|
||||
params:
|
||||
functions_and_methods:
|
||||
returnType: page.Pages
|
||||
signatures: [SITE.Pages]
|
||||
---
|
||||
|
||||
This method returns all page [kinds](g) in the current language. That includes the home page, section pages, taxonomy pages, term pages, and regular pages.
|
||||
This method returns all page [kinds](g) in the current language, in the [default sort order](g). That includes the home page, section pages, taxonomy pages, term pages, and regular pages.
|
||||
|
||||
In most cases you should use the [`RegularPages`] method instead.
|
||||
|
||||
|
Reference in New Issue
Block a user