Skip to content

Commit 4fe9f5d

Browse files
committed
Update zola to 0.22.0
- Update github workflow - Fix breaking change in config
1 parent b70bb91 commit 4fe9f5d

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@ jobs:
1313
steps:
1414
- name: Checkout main
1515
uses: actions/checkout@v4
16-
with:
17-
submodules: true
1816
- name: Build only
19-
uses: shalzz/zola-deploy-action@v0.18.0
17+
uses: shalzz/zola-deploy-action@v0.22.0
2018
env:
2119
BUILD_DIR: .
2220
BUILD_ONLY: true
@@ -36,7 +34,7 @@ jobs:
3634
- name: Checkout main
3735
uses: actions/checkout@v4
3836
- name: Build and deploy
39-
uses: shalzz/zola-deploy-action@v0.18.0
37+
uses: shalzz/zola-deploy-action@v0.22.0
4038
env:
4139
BUILD_DIR: .
4240
PAGES_BRANCH: gh-pages

config.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,10 @@ include_description = false
3434
# Whether to include the rendered content of the page/section in the index
3535
include_content = true
3636

37-
[markdown]
38-
# Whether to do syntax highlighting.
39-
# Theme can be customised by setting the `highlight_theme`
40-
# variable to a theme supported by Zola
41-
highlight_code = true
37+
[markdown.highlighting]
38+
error_on_missing_language = false
39+
light_theme = "github-light"
40+
dark_theme = "github-dark"
4241

4342
[extra]
4443
# Put all your custom variables here

0 commit comments

Comments
 (0)