feat: add side toc support and update toc style

This commit is contained in:
st1020 2025-10-02 20:07:02 +08:00
parent 9d208b7bd1
commit b7a197c648
10 changed files with 291 additions and 241 deletions

View file

@ -42,7 +42,7 @@ extra_syntaxes_and_themes = []
# See below for list of allowed values.
highlight_theme = "base16-ocean-dark"
# The Kita theme style config.
# The Kita theme config.
[extra]
# Enable KaTex math formula support globally.
math = false
@ -50,9 +50,12 @@ math = false
mermaid = false
# Enable comment support globally.
comment = false
# Enable floating table of contents on the right side of the post page.
side_toc = true
# The URL of social image.
social_image = "icons/github.svg"
# The Kita style config.
[extra.style]
# The custom background color.
# bg_color = ""