# No paginator in get\_section() output

**URL:** <https://zola.discourse.group/t/no-paginator-in-get-section-output/2106>\
**Category:** Support\
**Created:** [April 12, 2024, 9:40pm UTC](https://zola.discourse.group/t/no-paginator-in-get-section-output/2106 "2024-04-12T21:40:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![charlie137](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/charlie137/32/1140_2.png) [@charlie137](https://zola.discourse.group/u/charlie137)\
**Post date:** [April 12, 2024, 9:40pm UTC](https://zola.discourse.group/t/no-paginator-in-get-section-output/2106/1 "2024-04-12T21:40:10Z")

</div>

How to get permalinks for paginator’s pages?

```jinja2
{%- set posts = get_section(path="posts/_index.md") %}
  {{ posts.paginator }}

```

```sh
Error: Reason: Variable `posts.paginator` not found in context while rendering 'partials/head.html'

```

section:

```auto
+++
title = "Posts"
sort_by = "date"
template = "posts.html"
page_template = "post.html"
insert_anchor_links = "left"
paginate_by = 2
+++

```

`paginate_by` \> 0 but no `paginator` variable present. And I can still access `pages` [Pagination | Zola](https://www.getzola.org/documentation/templates/pagination/)

---

<div class="post-metadata">

**Author:** ![charlie137](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/charlie137/32/1140_2.png) [@charlie137](https://zola.discourse.group/u/charlie137)\
**Post date:** [April 13, 2024, 3:27pm UTC](https://zola.discourse.group/t/no-paginator-in-get-section-output/2106/2 "2024-04-13T15:27:27Z")

</div>

Trying to utilize page’s `backlinks` but they are also empty for some reason (even with added `@` test link) 🤨

paginator’s extractor:

```jinja2
{% for post in posts.pages %}{{ post.permalink | safe }} {% for link in post.backlinks %}{{ link.permalink | safe }} {% endfor %}

```

trying with this line: [halve-z/templates/partials/head.html at 65434c342b28eadccad4b1ea2aee453bd5e56767 · charlesrocket/halve-z · GitHub](https://github.com/charlesrocket/halve-z/blob/65434c342b28eadccad4b1ea2aee453bd5e56767/templates/partials/head.html#L116)

_note_: this is for dynamic PWA cache list

> <https://github.com/getzola/zola/issues/2473>
>
> There is no way to get paginator's page permalink due to standalone variable (#6…91).
