diff --git a/.github/workflows/deploy-cloudflare-pages.yml b/.github/workflows/deploy-cloudflare-pages.yml index d229d9a..8e27942 100644 --- a/.github/workflows/deploy-cloudflare-pages.yml +++ b/.github/workflows/deploy-cloudflare-pages.yml @@ -19,10 +19,10 @@ jobs: with: submodules: recursive - - name: Install Zola 0.21.0 + - name: Install Zola 0.22.0 uses: taiki-e/install-action@v2 with: - tool: zola@0.21.0 + tool: zola@0.22.0 - name: Build site run: zola build diff --git a/.github/workflows/test-build.yml b/.github/workflows/test-build.yml index e25b0e4..a546496 100644 --- a/.github/workflows/test-build.yml +++ b/.github/workflows/test-build.yml @@ -17,6 +17,6 @@ jobs: submodules: true - name: Zola Build - uses: shalzz/zola-deploy-action@v0.19.2 + uses: shalzz/zola-deploy-action@v0.22.0 env: BUILD_ONLY: true diff --git a/config.toml b/config.toml index c6d8b1b..eb790da 100644 --- a/config.toml +++ b/config.toml @@ -29,12 +29,16 @@ include_content = true [markdown] -highlight_code = true bottom_footnotes = true -# To use a Zola built-in theme, CSP needs to allow unsafe-inline for style-src. -highlight_theme = "css" smart_punctuation = true +[markdown.highlighting] +# Zola 0.22.0 replaced Syntect with Giallo; highlighting options moved here. +# style = "class" emits CSS classes (no inline colours); colours come from tabi's CSS. +highlight_code = true +theme = "catppuccin-frappe" +style = "class" + [extra] # Check out the documentation (or the comments below) to learn how to customise tabi: