feature: allow for fallback includes

This commit is contained in:
Andy Burke 2026-01-26 23:32:51 -08:00
parent d07991bc60
commit 014d0e56c8
8 changed files with 93 additions and 68 deletions

View file

@ -37,14 +37,17 @@ The default handlers are:
```
<html>
<body>
<!-- #include file="./header.html" -->
<!-- #include "./header.html" -->
<!-- can include markdown, which will be converted to html -->
<!-- #include file="./essay.md" -->
<!-- #include "./essay.md" -->
<div id="footer">
<!-- you can include text files as well -->
<!-- #include file="./somedir/footer.txt" >
<!-- #include "./somedir/footer.txt" -->
<!-- you can chain includes to allow for local overrides or temporary notices -->
<!-- #include "./news.html" or "./default.html" -->
</div>
</body>
</html>