mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
feat(website): add a persistent light and dark theme switch
This commit is contained in:
+1
-1
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user