Peter0x44's technical musings - A minimal Hugo blog using the PaperMod theme.
-
Start development server - Double-click
serve.bator run:hugo server
Then open: http://localhost:1313
-
Add a new post:
hugo new posts/my-new-post.md
-
Test your changes - The development server auto-reloads when you save files
-
Push to deploy - When you're happy with your changes:
git add . git commit -m "Add new post" git push origin master
Your site automatically deploys to GitHub Pages when you push to the master branch using GitHub Actions.
Setup (one-time):
- Go to your repository Settings → Pages
- Set Source to "GitHub Actions"
- The workflow will run automatically on each push to master
Manual options:
- Trigger deployment manually from the Actions tab
- Build locally with
hugothen serve withserve.pyfor static testing
Your live site: https://peter0x44.github.io/
content/posts/- Your blog posts (Markdown files)config.toml- Site configurationpublic/- Generated static site (after runninghugo)themes/PaperMod/- The theme files
Create new .md files in content/posts/ with this format:
---
title: "My Post Title"
date: 2025-07-22T12:00:00Z
draft: false
---
Your content here in Markdown...hugo server- Start development server with live reloadhugo server --bind=0.0.0.0- Start server accessible from networkhugo new posts/filename.md- Create new post
hugo- Build static site (createspublic/folder)hugo --minify- Build optimized for productionserve.bat- Quick start development server (Windows)serve.py- Serve built site locally for testing
git push origin master- Trigger automatic deployment to GitHub Pages- Manual deployment available from GitHub Actions tab