diff --git a/build.py b/build.py index 15353e5..a23c0b6 100755 --- a/build.py +++ b/build.py @@ -68,6 +68,7 @@ def main():
+

Marc Beninca

@@ -325,7 +326,12 @@ function main() {{ check(tab) push(tab) }} -}}''' +}} + +function swap() {{ + document.body.classList.toggle('dark') +}} +''' # {link_text} with open(page_file, 'bw') as f: f.write(page_text.encode('u8'))