Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'

This commit is contained in:
Bjørn Erik Pedersen
2025-04-10 13:04:51 +02:00
987 changed files with 12379 additions and 14083 deletions

View File

@@ -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.