> ## Content Index
> Fetch the complete content index at: https://getpublii.com/dev/llms.txt
> Use this file to discover other available public pages before exploring further.

# {{#getPage}} helper

- URL: https://getpublii.com/dev/getpage-helper/
- Published: 2024-08-15T20:59:21.052Z
- Updated: 2024-08-15T21:06:38.997Z
- Description: {{getPage}} is a helper used to retrieve page data regardless of the current context. Syntax: {{#getPage pageID}} ... {{/getPage}} Example: {{#getPage 10}} <h2>{{title}}</h2> {{{excerpt}}} {{/getPage}}…
- Author: Tomasz Dziuda

**{{getPage}}** is a helper used to retrieve page data regardless of the current context.

Syntax:

```handlebars
{{#getPage pageID}}
...
{{/getPage}}
```

Example:

```handlebars
{{#getPage 10}}
   <h2>{{title}}</h2>
   {{{excerpt}}}
{{/getPage}}
```

**IMPORTANT:** It requires availability of the `@website.contentStructure` global variable
