~ajhalili2006's personal website, built with Zensical (successor of Material for Mkdocs) [old repo name got bugged while attempting to do manual knot migration via repo deletion]
andreijiroh.dev
zensical
mkdocs-material
website
1[project]
2# basic metadata
3site_name = "~ajhalili2006"
4site_url = "https://andreijiroh.dev"
5docs_dir = "markdown"
6site_dir = "public"
7site_author = "Andrei Jiroh Halili"
8copyright = "Copyright © 2022-present - Andrei Jiroh Halili and contributors, licensed under the <a href=\"https://creativecommons.org/licenses/by-sa/4.0\">CC BY-SA 4.0</a> license."
9use_directory_urls = true
10
11[project.extra]
12fediverse_handle = "@ajhalili2006:tilde.zone"
13
14[project.theme]
15custom_dir = "overrides"
16# project features
17features = [
18 "announce.dismiss",
19 "content.action.edit",
20 "content.action.view",
21 "content.code.annotate",
22 "content.code.copy",
23 "navigation.footer",
24 "avigation.indexes",
25 "navigation.sections",
26 "navigation.tabs",
27 "navigation.top",
28 "navigation.tracking",
29 "search.highlight",
30 "search.share",
31 "search.suggest",
32 "toc.follow",
33]
34
35# Palette
36## Palette toggle for automatic mode
37[[project.theme.palette]]
38media = "(prefers-color-scheme)"
39palette.primary = "green"
40palette.accent = "yellow"
41toggle.icon = "material/brightness-auto"
42toggle.name = "Switch to light mode"
43## Palette toggle for light mode
44[[project.theme.palette]]
45media = "(prefers-color-scheme: light)"
46scheme = "default"
47palette.primary = "green"
48palette.accent = "yellow"
49toggle.icon = "material/brightness-7"
50toggle.name = "Switch to dark mode"
51## Palette toggle for dark mode
52[[project.theme.palette]]
53media = "(prefers-color-scheme: dark)"
54scheme = "slate"
55palette.primary = "green"
56palette.accent = "yellow"
57toggle.icon = "material/brightness-4"
58toggle.name = "Switch to system preference"