--- title: Sections description: Returns a collection of top-level section pages. categories: [] keywords: [] 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 content/ ├── books/ │ ├── book-1.md │ └── book-2.md ├── films/ │ ├── film-1.md │ └── film-2.md └── _index.md ``` This template: ```go-html-template {{ range .Site.Sections }}