by devmunchies · 4y ago · 0 comments
If you want a templating system, it wouldn’t be hard to run a script that deterministically takes all templates in folder X and compiles them into folder Y.
<body>
<script src="./magic.js"></script>
# Markdown goes here
* etc.
</body>
Where magic.js converts MD to HTML, adds CSS/Templating, and somehow if it can get a list of files from the server can produce a list of posts.