Page 4 of 10 | View as a single page

Paginator Properties/Fields

These properties/fields are available to your layouts and content via the paginator object, e.g. {{ paginator.page }}.

Field Aliases Description
first_page   First page number, i.e. 1
first_page_path first_path Relative URL to the first page
next_page   Next page number
next_page_path next_path Relative URL to the next page
previous_page prev_page Previous page number
previous_page_path previous_path
prev_path
Relative URL to the previous page
last_page   Last page number
last_page_path last_path Relative URL to the last page
page page_num Current page number
page_path   Path to the current page
page_trail   Page trail, see below
total_pages pages Total number of pages
     
single_page view_all Path to the original/full page
seo   HTML header tags for SEO, see below
toc   Table Of Contents generator, see below
     
section   Text of the first header (<h1> etc.) on this page
previous_section prev_section Ditto for the previous page
next_section   Ditto for the next page
section_id   The header id (<a name>) of this section
     
paginated activated true if this is a partial page
has_next   true if there is a next page
has_previous has_prev true if there is a previous page
is_first   true if this is the first page
is_last   true if this is the last page
next_is_last   true if this page is next-to-last
previous_is_first prev_is_first true if this is the second page

site.baseurl

By default, JPC automatically prepends your site.baseurl to generated paths so you don’t have to do it yourself. If you don’t like this behavior, set prepend_baseurl: false in your configuration.

2 3 4 5 6