LASP website using Hugo and HugoBlox Academic Group Theme for github-pages
.
GitHub Codespaces provides a cloud-powered Visual Studio Code environment for any GitHub project. You can set up one at project page by clicking code
and then create codespace on main,
as below.
- Install Hugo Extended (non-extended will fail), see here.
- Install python (required by
update_publication.sh
), see here - Choose and download a code editor, such Visual Studio Code
After setting up an environment, you should run the update_publication.sh
script to populate publications and then use the hugo server
to preview the website, as below.
sh scripts/update_publication.sh # only once
hugo server
The deployment to http://lasp-ucl.github.io is done by a GitHub workflow. It is trigged automatically after push changes to GitHub.
See deployment logs (and possible fails) at the project actions.