Upgrade to Zola 0.22

This commit is contained in:
mo8it 2026-03-17 12:17:07 +01:00
parent 2c9c31e8a2
commit d3df105167
4 changed files with 8 additions and 12 deletions

View File

@ -19,11 +19,11 @@ jobs:
- name: Build CSS - name: Build CSS
run: npx @tailwindcss/cli -m -i input.css -o static/main.css run: npx @tailwindcss/cli -m -i input.css -o static/main.css
- name: Download Zola - name: Download Zola
run: curl -fsSL https://github.com/getzola/zola/releases/download/v0.20.0/zola-v0.20.0-x86_64-unknown-linux-gnu.tar.gz | tar xz run: curl -fsSL https://github.com/getzola/zola/releases/download/v0.22.1/zola-v0.22.1-x86_64-unknown-linux-gnu.tar.gz | tar xz
- name: Build site - name: Build site
run: ./zola build run: ./zola build
- name: Upload static files as artifact - name: Upload static files as artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v4
with: with:
path: website/public/ path: website/public/

View File

@ -6,11 +6,11 @@ compile_sass = false
build_search_index = false build_search_index = false
[markdown] [markdown]
highlight_code = true
highlight_theme = "dracula"
insert_anchor_links = "heading" insert_anchor_links = "heading"
[markdown.highlighting]
theme = "dracula"
[extra] [extra]
logo_path = "images/happy_ferris.svg" logo_path = "images/happy_ferris.svg"

View File

@ -41,14 +41,10 @@
@apply md:w-3/4 lg:w-3/5; @apply md:w-3/4 lg:w-3/5;
} }
blockquote { blockquote {
@apply px-3 pt-2 pb-0.5 mb-4 mt-2 border-s-4 border-white/80 bg-white/7 rounded-sm; @apply px-3 pt-2 pb-px mb-4 mt-2 border-s-4 border-white/80 bg-white/7 rounded-sm;
} }
pre { pre {
@apply px-2 pt-2 pb-px overflow-x-auto text-sm sm:text-base rounded-sm mt-2 mb-4 after:content-[attr(data-lang)] after:text-[8px] after:opacity-40 selection:bg-white/15; @apply px-2 pt-2 pb-1.5 overflow-x-auto text-sm sm:text-base rounded-sm mt-2 mb-4 selection:bg-white/15;
}
pre code mark {
@apply pb-0.5 pt-1 pr-px text-inherit rounded-xs;
} }
} }

View File

@ -1,5 +1,5 @@
{ {
"dependencies": { "dependencies": {
"@tailwindcss/cli": "^4.1" "@tailwindcss/cli": "^4"
} }
} }