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

# {{#isCurrentPage}} helper

- URL: https://getpublii.com/dev/iscurrentpage-helper/
- Published: 2017-08-04T22:14:50.996Z
- Updated: 2024-02-08T11:48:37.934Z
- Description: (Used in pagination) Helper for checking if a given page number is a current page. Syntax: {{#isCurrentPage @pagination.currentPage NUMBER}} If current pagination page is equal…
- Author: Tomasz Dziuda
- Tags: Helpers

*(Used in pagination)*

Helper for checking if a given page number is a current page.

Syntax:

```handlebars
{{#isCurrentPage @pagination.currentPage NUMBER}}
   If current pagination page is equal to NUMBER
{{else}}
   If current pagination page is not equal to NUMBER
{{/isCurrentPage}}
```

Example:

```handlebars
{{#isCurrentPage @pagination.currentPage 5}}
```
