Super simple static website about myself :)
This uses Rocket.rs combined with maud (to get away from the god-awful language known as HTML).
To start the webserver, run:
cargo runTo export a static site, run:
sh gen_static.shIt's a bit of a hacky script, so you may have to run it a couple times before it works.
Because GitHub Pages (annoyingly) does not allow us a wide range of options for selecting which directory to deploy our website from, we must use this trick.
The gist of it is that we create a subtree of static and then push it to the gh-pages branch:
git push origin $(git subtree split --prefix static):gh-pages -fThat's all folks!