From b4969fde502b81ac5ea045cbf2d24c2db4bba8eb Mon Sep 17 00:00:00 2001 From: Jieiku Date: Thu, 20 Aug 2026 17:06:58 -0700 Subject: Update for Zola 0.23.4 --- templates/404.html | 2 +- templates/archive.html | 2 +- templates/base.html | 14 +++++++------- templates/categories/list.html | 2 +- templates/categories/single.html | 2 +- templates/components/components.html | 34 +++++++++++++++++----------------- templates/components/seo.html | 2 +- templates/index.html | 6 +++--- templates/page.html | 10 +++++----- templates/partials/head.html | 10 +++++----- templates/partials/head_js.html | 32 ++++++++++++++++---------------- templates/partials/social.html | 2 +- templates/tags/list.html | 2 +- templates/tags/single.html | 2 +- 14 files changed, 61 insertions(+), 61 deletions(-) (limited to 'templates') diff --git a/templates/404.html b/templates/404.html index 70e1f91..02a4f54 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{%- set uglyurls = config.extra.uglyurls | default(value=false) -%} +{%- set uglyurls = (config.extra.uglyurls or false) -%} {%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %} {%- block seo -%} diff --git a/templates/archive.html b/templates/archive.html index 8bc0f27..3ec7d67 100644 --- a/templates/archive.html +++ b/templates/archive.html @@ -4,7 +4,7 @@ This Template can also be used as the rendering template for Sections, eg: examp #} {% extends "base.html" %} -{%- set uglyurls = config.extra.uglyurls | default(value=false) -%} +{%- set uglyurls = (config.extra.uglyurls or false) -%} {%- if config.extra.search_library %}{%- if config.extra.search_library == "offline" %}{% set uglyurls = true %}{% endif %}{% endif %} {%- block seo -%} diff --git a/templates/base.html b/templates/base.html index 97d2f4d..d359226 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,10 +1,10 @@ {#- Load current language i18n data from .toml files in user's '/i18n' folder, use theme as fallback. -#} {%- set i18n = load_data(path="i18n/" ~ lang ~ '.toml', required=false) -%} {%- if not i18n -%}{%- set i18n = load_data(path="themes/abridge/i18n/" ~ lang ~ ".toml", required=false) -%}{%- endif -%} -{%- set uglyurls = config.extra.uglyurls | default(value=false) -%} +{%- set uglyurls = (config.extra.uglyurls or false) -%} {%- if config.extra.search_library -%}{%- if config.extra.search_library == "offline" -%}{%- set uglyurls = true -%}{%- endif -%}{%- endif -%} - + {%- include "partials/head.html" -%} {#- SEO: title, description, etc -#} @@ -45,7 +45,7 @@