You've already forked uutils.github.io
mirror of
https://github.com/uutils/uutils.github.io.git
synced 2026-06-10 16:12:28 -07:00
Update Zola config for v0.22 compatibility
The highlighting config format changed in Zola 0.22: use [markdown.highlighting] with style/light_theme/dark_theme fields instead of the old highlight_code/highlight_theme fields.
This commit is contained in:
+4
-7
@@ -10,10 +10,7 @@ default_language = "en"
|
||||
generate_feeds = true
|
||||
|
||||
[markdown]
|
||||
highlight_code = true
|
||||
highlight_theme = "css"
|
||||
|
||||
highlight_themes_css = [
|
||||
{ theme = "OneHalfDark", filename = "syntax-theme-dark.css" },
|
||||
{ theme = "OneHalfLight", filename = "syntax-theme-light.css" },
|
||||
]
|
||||
[markdown.highlighting]
|
||||
style = "class"
|
||||
light_theme = "one-light"
|
||||
dark_theme = "one-dark-pro"
|
||||
|
||||
Reference in New Issue
Block a user