Skip to content

obiwac/obiw.ac

Repository files navigation

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 run

To export a static site, run:

sh gen_static.sh

It'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 -f

That's all folks!

About

Static website about myself ;)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages