My personal website built with Hugo and a modified Ezhil theme.
Initial setup:
brew install pre-commit just lychee(macOS)gh repo clone https://github.com/mloning/website . -- --recurse-submodulesto clone the repo with the theme as a git submodulepre-commit install --install-hooks
Workflows:
git submodule update --init --recursive --remoteto update the theme from the git submodulejust run-dev-serverto start the Hugo server with hot reloadingjust create-new-post <name>to create a new draft in./content/posts/<name>.mdhugo list drafts | duckdb -c "SELECT path FROM read_csv_auto('/dev/stdin')"list draft posts- Use
Cmd+Shift+Rto force reload the cache in Firefox
Pushing changes to the main branch will trigger a deployment using a GitHub Action workflow and GitHub Pages.
Check out my blog post on how to configure a custom domain with GitHub Pages and Squarespace.