feature: allow for fallback includes
This commit is contained in:
parent
d07991bc60
commit
014d0e56c8
8 changed files with 93 additions and 68 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue