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

# @renderer global variable

- URL: https://getpublii.com/dev/renderer-global-variable/
- Published: 2017-08-04T22:36:24.516Z
- Updated: 2025-01-07T12:33:14.017Z
- Description: The rendering engine offers additional global variables which can be useful in some cases e.g. if you want to display some sections only on the…
- Author: Tomasz Dziuda
- Tags: Global Variables

The rendering engine offers additional global variables which can be useful in some cases e.g. if you want to display some sections only on the first/last page of post listings.

-   **@renderer.isFirstPage** - true if displayed page is the first page in the listing, otherwise false,
-   **@renderer.isLastPage** - true if displayed page is the last page in the listing, otherwise false.
-   **@renderer.previewMode** - true if page is displayed in the preview
