Source of loicmiller.com, built with Hugo and
HugoBlox Kit (academic CV template), deployed to GitHub Pages by GitHub Actions on
every push to master.
| What | File |
|---|---|
| Profile: bio, links, interests, education, experience, awards | data/authors/admin.yaml (content/authors/admin/_index.md holds the same profile in the older format) |
| Home page sections | content/_index.md |
| Papers | content/publication/<slug>/ (index.md, cite.bib, PDF, featured.jpg) |
| Talks | content/event/<slug>/ |
| Experience, Teaching | content/experience.md, content/teaching/_index.md |
| CV (« Download CV ») | static/uploads/resume.pdf |
| Site settings, menu | config/_default/ |
| Hugo version | hugoblox.yaml (build.hugo_version), read by the workflow too |
| Deployment | .github/workflows/hugo.yml |
node_modules/, public/ and resources/ are generated on each machine. Once per machine:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash # nvm, in your home, no sudo
# open a new terminal, then:
nvm install --lts
npm install -g pnpm
pnpm install
sudo apt install golang-go # Hugo fetches the theme's modules with Gopnpm's « Ignored build scripts: @parcel/watcher » is harmless: only Tailwind's --watch mode uses it, and Hugo does
not run that mode. Hugo itself is downloaded on the first preview (below).
Needs Node 22+ and pnpm. Hugo is downloaded by scripts/toolchain.py, at the version hugoblox.yaml names, so the
laptop builds exactly as GitHub does.
pnpm install
"$(python3 scripts/toolchain.py bin)" server # preview on http://localhost:1313
python3 scripts/toolchain.py update # latest theme modules + Tailwind, newest Hugo that buildspublic/, resources/ and node_modules/ are generated: never commit them. The search index (Pagefind) is built
after Hugo, by the workflow.
