From 38a6df1082b073010c234f869448849e36699f5a Mon Sep 17 00:00:00 2001 From: "bootc-bot[bot]" <225049296+bootc-bot[bot]@users.noreply.github.com> Date: Wed, 12 Aug 2026 08:39:05 +0000 Subject: [PATCH 1/3] Update shalzz/zola-deploy-action action to v0.23.3 Signed-off-by: bootc-bot[bot] <225049296+bootc-bot[bot]@users.noreply.github.com> --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c809c0d..3145a75 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: - name: Check out repository uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Build and deploy - uses: shalzz/zola-deploy-action@74526e63f38f84b82476349bbcd886b82040ff98 # v0.22.1 + uses: shalzz/zola-deploy-action@6dd77deda5de42ab2301e9de1fed784243bef64d # v0.23.3 env: PAGES_BRANCH: gh-pages GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -35,7 +35,7 @@ jobs: uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Install and build if: github.event.action != 'closed' - uses: shalzz/zola-deploy-action@74526e63f38f84b82476349bbcd886b82040ff98 # v0.22.1 + uses: shalzz/zola-deploy-action@6dd77deda5de42ab2301e9de1fed784243bef64d # v0.23.3 env: BUILD_ONLY: true BUILD_FLAGS: --drafts From b21a1613c2dd6d2f0d8eeea715bd55f789d973c8 Mon Sep 17 00:00:00 2001 From: John Eckersberg Date: Tue, 18 Aug 2026 12:14:31 -0400 Subject: [PATCH 2/3] templates: Migrate to Tera v2 for Zola 0.23 Zola 0.23 upgrades the Tera template engine from v1 to v2, which includes several breaking changes that require template updates. Macros removed: Tera v2 replaces macros with components. The render_header macro, which needs access to the rendering context (config, section, etc.), is converted to a plain include fragment since components are context-isolated. The author/description/abs_url/ link_list_item macros in common.html are converted to components, with config passed explicitly where needed. Renamed/removed filters: - linebreaksbr -> newlines_to_br - concat filter -> spread syntax ([...arr, item]) - slice filter -> native slicing (arr[:3]) Test syntax changes: Tera v2 requires keyword arguments for tests. - starting_with("x") -> starting_with(pat="x") - containing(x) replaced with `not in` operator String literal changes: Backtick strings no longer support raw backslashes; regex patterns now use single-quoted strings with escaped backslashes. Strict undefined variables: Tera v2 errors on undefined variables instead of treating them as falsy. Added `is defined` guards for section/page/toc variables in base templates. Remove unused shortcodes: Zola 0.23 removes shortcode support entirely. The shortcodes in the juice theme (impshort, imptoc, issue) were unused by any content and are deleted. See the Tera v1->v2 migration guide for full details: https://github.com/Keats/tera/blob/master/MIGRATION.md Generated-by: AI Signed-off-by: John Eckersberg --- templates/_macros.html | 4 +--- templates/imported.html | 19 +++++++++--------- templates/index.html | 2 +- themes/juice/templates/_macros.html | 4 +--- themes/juice/templates/base.html | 9 ++++----- themes/juice/templates/blog-page.html | 6 ++---- themes/juice/templates/blog.html | 2 +- themes/juice/templates/common.html | 20 +++++++++---------- themes/juice/templates/index.html | 9 ++++----- themes/juice/templates/news-page.html | 3 +-- themes/juice/templates/news.html | 2 +- themes/juice/templates/page.html | 3 +-- themes/juice/templates/section.html | 3 +-- .../juice/templates/shortcodes/impshort.html | 4 ---- themes/juice/templates/shortcodes/imptoc.html | 0 themes/juice/templates/shortcodes/issue.html | 1 - 16 files changed, 37 insertions(+), 54 deletions(-) delete mode 100644 themes/juice/templates/shortcodes/impshort.html delete mode 100644 themes/juice/templates/shortcodes/imptoc.html delete mode 100644 themes/juice/templates/shortcodes/issue.html diff --git a/templates/_macros.html b/templates/_macros.html index 93998c5..3abd482 100644 --- a/templates/_macros.html +++ b/templates/_macros.html @@ -1,4 +1,3 @@ -{% macro render_header() %} {% set section = get_section(path="_index.md") %}