add header/footer template

This commit is contained in:
Daniel Fichtinger 2025-06-21 22:57:23 -04:00
parent d8b491bc33
commit 070c23720b
6 changed files with 54 additions and 17 deletions

View file

@ -147,7 +147,7 @@ p {
style.write_text(style_content)
items = discover(tmp_path, outd)
build(items)
build(tmp_path, items)
html = (outd / "post" / "index.html").read_text()
assert html.strip() == "<h1>Hello World</h1>"
s = (outd / "static" / "style.css").read_text()