blog/config.toml
2024-10-02 17:51:40 +02:00

78 lines
No EOL
2.1 KiB
TOML

# The site theme to use.
theme = "duckquill"
# The URL the site will be built for
base_url = "https://blog.grobecker.me"
# Whether to automatically compile all Sass files in the sass directory
compile_sass = true
# Whether to build a search index to be used later on by a JavaScript library
build_search_index = true
# smart_punctuation = true
# bottom_footnotes = true
[markdown]
# Whether to do syntax highlighting
# Theme can be customised by setting the `highlight_theme` variable to a theme supported by Zola
highlight_code = true
smart_punctuation = true
bottom_footnotes = true
extra_syntaxes_and_themes = ["syntaxes/"]
[extra]
# Put all your custom variables here
default_theme = "dark"
katex = true
# Sets theme and browser theme color.
# See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name/theme-color
accent_color = "#ff7800"
# Ditto but for the dark theme.
# If not set regular variant will be used.
accent_color_dark = "#ffa348"
# Ditto but for the dark theme.
fix_contrast_dark = true
show_read_time = true
[extra.nav]
# Whether to show the Atom/RSS feed button in the nav
show_feed = true
# Whether to show the manual theme switcher in the nav
show_theme_switcher = true
# Whether to show the link to the source repository in the nav
show_repo = true
# Links used in the nav.
# For local files use same link format as in Markdown,
# i.e. "@/blog/_index.md".
# See https://www.getzola.org/documentation/content/linking/#internal-links
links = [
{ name = "Links", menu = [
{ url = "@/blog/_index.md", name = "Blog" },
# { url = "@/demo/index.md", name = "Demo" },
# { url = "@/mods/index.md", name = "Mods" },
] },
{ url = "https://daudix.one/coffee/", name = "Coffee" },
]
[extra.footer]
# Links used in the footer.
# Same as the nav ones.
links = [
{ url = "@/blog/_index.md", name = "Blog" },
# { url = "@/demo/index.md", name = "Demo" },
# { url = "@/mods/index.md", name = "Mods" },
{ url = "https://daudix.one/coffee/", name = "Coffee" },
]
[extra.toc]
# whether to render inline static TOC at the top of the articles or not
inline = true
# where to show the TOC as a pop-up button
popup = true
# Show numbered TOC
numbered = true