This is the code used to generate the eliises.github.io site. The generated code can be found at eliises/eliises.github.io. This sites theme can be found at eliises/AllinOne and the site built using Hugo.
If you've spotted a typo in that blog, you're welcome to send me a pull request here.
The easiest way to build the site locally is to open the repository in the devcontainer, and then use the following command to build and start the site:
make start
This will then start a local web server. Changes to the content are watched, and the site will rebuild on change.
You can then open the site at http://localhost:1313
If you simply want to build the site then use the following command:
make build
This will generate the website/public
folder.
Commits to this repository will kick off an Github Action pipeline. The pipeline will build the site and if the build is successful will update the eliises/eliises.github.io
repository. Commits to eliises/eliises.github.io
trigger Github Pages to build and deploy the website to https://eliises.github.io.
eliises/eliises.github.io
repository can also be updated from the local environment using the following command:
make local-deploy
This repository has eliises/eliises.github.io
and eliises/AllinOne
as git submodules. Use the following command to initialize and update the submodules:
make sync-submodules
For convenience, there is a Makefile
in this repository that defines the following rules:
make build
to build the sitemake start
to build and then serve the site on http://localhost:1313make deploy
to deploy the site to eliises.github.io from Github Actionsmake local-deploy
to deploy the site to eliises.github.io from the local machinemake sync-submodules
to initialize and update the git submodules
This site uses a modified version of AllinOne for its theme, and is built using Hugo. The modified version can be found at eliises/AllinOne.
Open sourced under the MIT license.
Copyright (c) 2022 Eliise Seling