Skip to content
View loicmiller's full-sized avatar

Block or report loicmiller

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
loicmiller/README.md

Loïc Miller — academic website

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.

Where things are

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

New machine

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 Go

pnpm'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).

Local preview and updates

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 builds

public/, resources/ and node_modules/ are generated: never commit them. The search index (Pagefind) is built after Hugo, by the workflow.

Popular repositories Loading

  1. secure-workflow secure-workflow Public

    Proof of Concept and test framework

    Jupyter Notebook

  2. loicmiller loicmiller Public

    Personal website

    TeX

  3. mgtoolkit mgtoolkit Public

    Forked from dinesharanathunga/mgtoolkit

    This is a Python package for implementing metagraphs.

    Python

  4. policy-verification policy-verification Public

    Policy verification procedure using metagraphs

    Jupyter Notebook

  5. imc-webpage imc-webpage Public

    Forked from timmboettger/imc-webpage

    Scripts and templates that were used to build and maintain the ACM IMC 2017 webpage

    HTML

  6. policy-analysis policy-analysis Public

    Tools for policy analysis

    Python