add header/footer template
This commit is contained in:
parent
d8b491bc33
commit
070c23720b
6 changed files with 54 additions and 17 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue