Welcome to the gohugo template to create rich content academic reports having p5.js sketches.
Install the gohugo static site generator then:
$git clone https://github.com/objetos/showcase
$cd showcase
$git submodule update --init --recursive
$hugo server -D --disableFastRender
Deploy with $git push
after redefining baseURL
in config.toml
which should point to your actual public remote.
The template uses the hugo-book theme by default. Check the hugo themes site if you wish to add other ones.
Note that deployment is implemented with a github action which parses the source code from the repo main
branch into the html
generated page found (and served) at the repo gh-pages
branch. If you forked the repo don't forget to activate the repo workflow actions.
If you changed the repo name don't forget to update all the js related (both sketches and assets) urls.
If you are unfamiliar with git check out this tutorial series and also this presentation.