A Hugo-powered blog hosted on GitHub Pages at https://thbst16.github.io/beckshome-blog/
This is the fifth iteration of my blog's hosting engine, having migrated from Das Blog → WordPress → Statiq.net → Hugo.
- Static Site Generator: Hugo (Extended v0.154.3+)
- Theme: hugo-theme-cleanwhite - Full-width hero images with clean typography
- Search: Pagefind - Client-side static search
- Hosting: GitHub Pages
- CI/CD: GitHub Actions
- Full-width hero images on homepage and posts
- Client-side search powered by Pagefind
- Tag-based content organization
- Archive page for chronological browsing
- RSS feed
- Mobile-responsive design
- Dark mode support (theme-provided)
- Hugo Extended (v0.154.3 or later)
- Git (for theme submodule)
- Node.js (for Pagefind, optional for local dev)
# Clone with submodules
git clone --recurse-submodules https://github.com/thbst16/beckshome-blog.git
cd beckshome-blog
# Or if already cloned, initialize submodules
git submodule update --init --recursive
# Run local server
hugo server -DThe site will be available at http://localhost:1313/beckshome-blog/
hugo --gc --minifynpx pagefind --site ./publicbeckshome-blog/
├── .github/workflows/ # GitHub Actions deployment
├── archetypes/ # Hugo content templates
├── content/
│ ├── post/ # Blog posts
│ ├── about/ # About page
│ ├── archive/ # Archive page
│ └── search/ # Search page
├── layouts/ # Theme overrides
│ ├── _default/ # Default layouts
│ ├── partials/ # Partial templates
│ └── taxonomy/ # Taxonomy layouts
├── static/
│ ├── css/ # Custom CSS
│ ├── images/ # Site images (hero, etc.)
│ └── img/ # Favicon and icons
├── themes/ # Hugo themes (submodule)
└── hugo.yaml # Site configuration
The site automatically deploys to GitHub Pages when changes are pushed to the main branch. The GitHub Actions workflow:
- Builds the Hugo site
- Runs Pagefind to generate search indexes
- Deploys to GitHub Pages
This site includes several layout overrides to ensure proper URL handling on GitHub Pages:
layouts/partials/nav.html- Navigation with correct base URL handlinglayouts/partials/sidebar.html- Sidebar with fixed tag linkslayouts/_default/search.html- Pagefind search integrationstatic/css/custom.css- Enhanced text contrast on hero images
Content is copyright Thomas Beck. Theme is licensed under MIT.