https://mad.is web page built with Babashka, Bulma CSS and Datastar
- REPL workflow: run from the command line
bb nrepl
- afterwards run
(blog.main/start!) - and to reload code changes & restart the http-kit server
(user/go!)
- To start without the REPL:
bb blog.main/-main
The posts are created by adding them under resources/public/posts folder with a naming scheme YYYY-MM-DD-<post-name>.md. If post requires assets (images, downloads, etc), they should be put under resources/public/posts/<post-name>/ subfolder and referred with /assets/<asset-file-name>. The server will use the referer header to determine the post folder and will look the asset up and return it.