[+] Static page generation

This commit is contained in:
2025-03-13 23:27:54 -04:00
parent aacaccaba8
commit 15e8cf9dcd
3 changed files with 27 additions and 2 deletions
+2 -2
View File
@@ -27,9 +27,9 @@ def dfs(channel: str):
return out
def gen_tree():
def gen_tree(d: Path = src / "public"):
of = dfs("hykilp")
write(src / "public/index.html", (src / "public/layout-full-tree.html").read_text()
write(d / "index.html", (src / "public/layout-full-tree.html").read_text()
.replace("{{CONTENT}}", of))