sidebar changes. build script.

This commit is contained in:
Lazy Hippopotamus
2023-06-06 15:32:11 -04:00
parent 3fd42d469b
commit 4423bd9dff
6 changed files with 109 additions and 30 deletions

10
build.py Normal file
View File

@@ -0,0 +1,10 @@
## simple, minimal build script.
import os
template = open("src/template.html").read()
for file in os.listdir("src"):
if file[0] == '_':
output = open(file[1:], "w+")
output.write(template.format(content=open("src/" + file).read()))