htmd/README.md

20 lines
418 B
Markdown
Raw Normal View History

2024-04-26 14:40:44 +02:00
# static site generator
all files get copied from the `write` dir to the `site` dir
2024-04-26 14:40:44 +02:00
md files get converted to html in the process
2024-04-26 14:40:44 +02:00
using `template.html`, which should include `TITLE` and `CONTENT`
2024-04-26 14:40:44 +02:00
utf-8 is required
ideas:
```
2024-04-26 14:40:44 +02:00
/blog/post_1.md -> /blog/post_1/index.html
/blog/ferret.mp4 -> /blog/post_1/ferret.mp4
/blog/post_2/post_2.md -> /blog/post_2/index.html
/blog/post_2/cat.png -> /blog/post_2/cat.png
```