Comment by a-french-anon

Comment by a-french-anon 10 months ago

2 replies

Fun thing, I finished something quite similar in a week: https://git.sr.ht/~q3cpma/make-website ; down to the page language using the macro DSL of https://github.com/ruricolist/spinneret via runtime compilation of the (compile nil (lambda () ...)) kind. It's just HTML, other than that.

Obviously very tailor-made for my website (https://world-playground-deceit.net/) but I plan on improving that part once I'm fully satisfied with it.

andrew-jack 10 months ago

Could it be preview and hosted on https://static.app/ ?

  • a-french-anon 10 months ago

    The result is purely static and the only redirection I make is from / to the welcome page; so using index.html as output would probably be enough to "just werk" with stuff like this or Github Pages/neocities.

    Not sure about what you mean by preview, but here's how I do it: build the website, copy the output directory somewhere, run `sed -E -i 's#(href|src)=("?)/#\1=\2file:///absolute/path/to/dst/#g' dst/*/*.html` and open a page as file in my web browser.