Source repo for willhea.com
- Generator: Hugo
- Theme: PaperMod
- Hosting: GitHub Pages
- Deployment: GitHub Actions (pushes to
gh-pagesbranch)
Prerequisites: Hugo installed (installation guide)
# Clone with submodules (for theme)
git clone --recurse-submodules <repo-url>
cd willhea.github.io
# Run dev server
hugo serverSite will be available at http://localhost:1313
hugo server # Dev server with live reload
hugo server -D # Include draft posts
hugo # Build site to public/content/
posts/ # Blog posts
about.md # About page
contact.md # Contact page
portfolio.md # Portfolio page
search.md # Search page
hugo.yaml # Site configuration
static/ # Static assets (images, CNAME, llms.txt)
themes/PaperMod/ # Theme (git submodule)
hugo new posts/my-new-post.mdFrontmatter:
---
title: "Post Title"
date: 2025-01-15
tags: ["tag1", "tag2"]
draft: false
summary: "Brief description for listings"
---Push to main triggers automatic deployment via GitHub Actions:
- Builds site with Hugo
- Deploys to
gh-pagesbranch - GitHub Pages serves the site
PaperMod is installed as a git submodule. If you need to reinstall:
git submodule update --init --recursiveMain config is in hugo.yaml:
- Site metadata and SEO
- PaperMod theme settings (profile mode, social icons, etc.)
- Menu structure
- Search settings