Skip to content

Commit d3df105

Browse files
committed
Upgrade to Zola 0.22
1 parent 2c9c31e commit d3df105

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed

.github/workflows/website.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ jobs:
1919
- name: Build CSS
2020
run: npx @tailwindcss/cli -m -i input.css -o static/main.css
2121
- name: Download Zola
22-
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
22+
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
2323
- name: Build site
2424
run: ./zola build
2525
- name: Upload static files as artifact
26-
uses: actions/upload-pages-artifact@v3
26+
uses: actions/upload-pages-artifact@v4
2727
with:
2828
path: website/public/
2929

website/config.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ compile_sass = false
66
build_search_index = false
77

88
[markdown]
9-
highlight_code = true
10-
highlight_theme = "dracula"
11-
129
insert_anchor_links = "heading"
1310

11+
[markdown.highlighting]
12+
theme = "dracula"
13+
1414
[extra]
1515
logo_path = "images/happy_ferris.svg"
1616

website/input.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,10 @@
4141
@apply md:w-3/4 lg:w-3/5;
4242
}
4343
blockquote {
44-
@apply px-3 pt-2 pb-0.5 mb-4 mt-2 border-s-4 border-white/80 bg-white/7 rounded-sm;
44+
@apply px-3 pt-2 pb-px mb-4 mt-2 border-s-4 border-white/80 bg-white/7 rounded-sm;
4545
}
4646

4747
pre {
48-
@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;
49-
}
50-
pre code mark {
51-
@apply pb-0.5 pt-1 pr-px text-inherit rounded-xs;
48+
@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;
5249
}
5350
}
54-

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"@tailwindcss/cli": "^4.1"
3+
"@tailwindcss/cli": "^4"
44
}
55
}

0 commit comments

Comments
 (0)