mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -1,17 +1,16 @@
|
||||
---
|
||||
title: Sections
|
||||
description: Returns a collection of first level section pages.
|
||||
description: Returns a collection of top-level section pages.
|
||||
categories: []
|
||||
keywords: []
|
||||
action:
|
||||
related:
|
||||
- methods/site/AllPages
|
||||
- methods/site/Pages
|
||||
- methods/site/RegularPages
|
||||
returnType: page.Pages
|
||||
signatures: [SITE.Sections]
|
||||
params:
|
||||
functions_and_methods:
|
||||
returnType: page.Pages
|
||||
signatures: [SITE.Sections]
|
||||
---
|
||||
|
||||
The `Sections` method on a `Site` object returns a collection of top-level [section pages](g), in the [default sort order](g).
|
||||
|
||||
Given this content structure:
|
||||
|
||||
```text
|
||||
|
Reference in New Issue
Block a user