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

This commit is contained in:
N0zoM1z0 authored and Ysopwnable committed 2026-10-13 09:27:49 +08:00
1 parent eeba61826c
commit 4773c152bc
47 files changed
+31691 -31305

No files matched your search

+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")
}