static html builder

This commit is contained in:
Q
2022-01-16 09:59:27 +02:00
parent 428465d2f2
commit 8dd5bde52a
3 changed files with 119 additions and 8 deletions

View File

@@ -34,3 +34,12 @@ Only 1st level heads and links are parsed. The rest are printed as is:
[link name](link url)
```
## Static HTML builder
Sometimes the reloading of styles and links is hard due to caching.
You can create a fully static single HTML page with:
```
bash build_static.sh -l example_links.txt -c config.js -s style.css > templated.html
```