No paginator in get_section() output

How to get permalinks for paginator’s pages?

{%- set posts = get_section(path="posts/_index.md") %}
  {{ posts.paginator }}
Error: Reason: Variable `posts.paginator` not found in context while rendering 'partials/head.html'

section:

+++
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

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

paginator’s extractor:

{% 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

note: this is for dynamic PWA cache list