feat(website): add a persistent light and dark theme switch

This commit is contained in:
N0zoM1z0
2026-10-13 09:21:34 +08:00
committed by Ysopwnable
parent eeba61826c
commit 4773c152bc
47 changed files with 31691 additions and 31305 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ def shared_blocks(root, path, source):
templates = root / "website/templates"
return {
name: indent(Template((templates / f"{name}.html.tmpl").read_text(encoding="utf-8")).substitute(values), " ")
for name in ("sharing", "header", "footer")
for name in ("sharing", "theme", "header", "footer")
}