@renderer global variable
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
- @renderer.ampMode - true if the displayed page is in amp mode