From c3476217538c61e612f5707109359b135bee0234 Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 22 Jul 2026 14:33:39 +0100 Subject: [PATCH 1/5] Make blog compatible with zola v0.22 --- config.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config.toml b/config.toml index d6c67d4..33e3352 100644 --- a/config.toml +++ b/config.toml @@ -33,14 +33,15 @@ include_content = true # include rendered content of page/section in index # truncate_content_length = 100 # Truncate at nth character. May be useful if index is getting too large. [markdown] -highlight_code = true -highlight_theme = "css" render_emoji = false external_links_target_blank = true # rel="noopener" external_links_no_follow = false # rel="nofollow" external_links_no_referrer = false # rel="noreferrer" smart_punctuation = false # `...` to `…`, `"quote"` to `“curly”` etc +[markdown.highlighting] +theme = "github-light" + [extra] ############################################################################### ### Layout & Format From e2f18276113858019a513bd418d9bebd6ffaa2e5 Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 22 Jul 2026 14:34:59 +0100 Subject: [PATCH 2/5] Add requirement in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a975d19..10f806c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ The blog is made with [Zola] and based on the [Abridge theme] that is included as a Git [submodule][git-submodule]. You will need: - * The `zola` binary v0.19.1 or higher + * The `zola` binary v0.22 or higher Run `zola serve` in order to serve the website and automatically render it when files change. From 60b41f456a47043ea13014138c3ba1780c5de659 Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 22 Jul 2026 14:39:09 +0100 Subject: [PATCH 3/5] Update CI --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b1139c8..f59e0fd 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,13 +19,13 @@ jobs: sudo apt-get update && sudo apt-get install -y wget git - run: | wget -q -O - \ - "https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz" \ + "https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz" \ | sudo tar xzf - -C /usr/local/bin - run: npm install - run: npm run abridge - name: 'Build only' - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@v0.22.1 env: BUILD_DIR: . GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -46,12 +46,12 @@ jobs: sudo apt-get update && sudo apt-get install -y wget git - run: | wget -q -O - \ - "https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz" \ + "https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz" \ | sudo tar xzf - -C /usr/local/bin - run: npm install - run: npm run abridge - name: 'Build and deploy' - uses: shalzz/zola-deploy-action@v0.21.0 + uses: shalzz/zola-deploy-action@v0.22.1 env: PAGES_BRANCH: gh-pages BUILD_DIR: . From 217085e908f11fadaa35316038bc4160e44778ba Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 22 Jul 2026 14:47:25 +0100 Subject: [PATCH 4/5] Use better theme --- config.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 33e3352..9bc42ce 100644 --- a/config.toml +++ b/config.toml @@ -40,7 +40,11 @@ external_links_no_referrer = false # rel="noreferrer" smart_punctuation = false # `...` to `…`, `"quote"` to `“curly”` etc [markdown.highlighting] -theme = "github-light" +# theme = "material-theme-lighter" +# theme = "snazzy-light" +# theme = "github-light" +theme = "one-light" + [extra] ############################################################################### From a39da57fe9c745b0436c1e8e31cc632f6d2076f3 Mon Sep 17 00:00:00 2001 From: David Binder Date: Wed, 22 Jul 2026 14:52:07 +0100 Subject: [PATCH 5/5] Add .giallo to css files --- sass/_extra.scss | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/sass/_extra.scss b/sass/_extra.scss index fc771fa..e77b83e 100644 --- a/sass/_extra.scss +++ b/sass/_extra.scss @@ -52,3 +52,19 @@ pre { pre code[data-lang]::before { display: none; } + +.giallo-l { + display: inline-block; + min-height: 1lh; + width: 100%; +} + +.giallo-ln { + display: inline-block; + user-select: none; + margin-right: 0.4em; + padding: 0.4em; + min-width: 3ch; + text-align: right; + opacity: 0.8; +} \ No newline at end of file