From c03fd7e1296680947efdd0a5619c75b0d17aae53 Mon Sep 17 00:00:00 2001 From: -k Date: Thu, 25 Apr 2024 12:18:51 -0700 Subject: [PATCH] refactor(pwa): rename `page_count` --- templates/partials/head.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/partials/head.html b/templates/partials/head.html index aaff4c9..0885bf3 100644 --- a/templates/partials/head.html +++ b/templates/partials/head.html @@ -121,10 +121,10 @@ {% set posts_config = load_data(literal=raw_posts_config, format="toml") %} {% set post_count = posts.pages | length %} {% if posts_config.paginate_by %} - {% set page_count = post_count / posts_config.paginate_by | round(method="ceil") | int | default(value=0) %} + {% set posts_page_count = post_count / posts_config.paginate_by | round(method="ceil") | int | default(value=0) %} {% endif %} {% endif %} - + {%- endif %} {%- if page.extra.image %}