Skip to content

Commit 636cc8c

Browse files
authored
Update to Zola 0.22 (#1848)
1 parent d55965d commit 636cc8c

10 files changed

Lines changed: 1655 additions & 30 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- run: rustup override set ${{ env.RUST_VERSION }}
3939
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
4040
- name: Install Zola
41-
run: cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
41+
run: cargo install --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c
4242

4343
- run: zola build
4444
- run: cp CNAME ./public/

.github/workflows/snapshot_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- run: rustup override set ${{ env.RUST_VERSION }}
1616
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
1717
- name: Install Zola
18-
run: cargo install --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
18+
run: cargo install --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c
1919

2020
- run: git fetch --depth 2
2121
- run: git checkout origin/main

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
/public
1010

1111
# generated by zola
12+
/static/giallo-dark.css
13+
/static/giallo-light.css
14+
# outdated, but people might still have them lying around:
1215
/static/styles/syntax-theme-dark.css
1316
/static/styles/syntax-theme-light.css
1417

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ It uses [Zola](https://www.getzola.org/) and is deployed to GitHub Pages via Git
88

99
## Installing Zola
1010

11-
You need at least zola v0.21.0 to render the blog.
11+
You need at least zola v0.22.0 to render the blog.
1212

1313
Compile from source:
1414

1515
```sh
16-
cargo install --debug --locked --git https://github.com/getzola/zola --rev 45d3f8d6285f0b47013c5fa31eb405332118af8b
16+
cargo install --debug --locked --git https://github.com/getzola/zola --rev 29540e9897dbe8aca388b13f7bdf615985f6ca2c
1717
```
1818

1919
You can also find a list of package managers that provide zola [here](https://www.getzola.org/documentation/getting-started/installation/).
20-
Prebuilt binaries are available for download [here](https://github.com/getzola/zola/releases/tag/v0.21.0).
20+
Prebuilt binaries are available for download [here](https://github.com/getzola/zola/releases/tag/v0.22.1).
2121
If you use [mise](https://mise.jdx.dev), you can run the pinned version of zola directly with `mise run zola`.
2222

2323
## Building

config.toml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@ feed_filenames = ["feed.xml", "releases.json"]
77
build_search_index = false
88

99
[markdown]
10-
highlight_code = true
11-
highlight_theme = "css"
12-
highlight_themes_css = [
13-
{ theme = "boron", filename = "styles/syntax-theme-dark.css" },
14-
{ theme = "OneHalfLight", filename = "styles/syntax-theme-light.css" },
15-
]
1610
bottom_footnotes = true
1711
insert_anchor_links = "left"
18-
extra_syntaxes_and_themes = ["syntaxes"]
12+
13+
[markdown.highlighting]
14+
light_theme = "night-owl-light"
15+
dark_theme = "dark-plus"
16+
style = "class"
17+
extra_themes = ["night-owl-light.json"]
1918

2019
[extra]
2120
# Put all your custom variables here

mise.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ zola = "zola"
33
serve = "zola serve --fast --open"
44

55
[tools]
6-
zola = "0.21.0"
6+
zola = "0.22.1"

0 commit comments

Comments
 (0)