β‘ A plug-and-play Hugo + Blowfish starter template that works on GitHub Pages, Netlify, Vercel, Render, and Cloudflare Pages.
- π Click "Use this template"
- π¦ Create your own repository
- π Deploy to your preferred platform:
Check out the live version of this template:
- Demo π blowfish-starter-template.netlify.app
- Status π«΄
This template works across multiple platforms out-of-the-box:
- Go to Settings β Pages
- Set Source to GitHub Actions
- Push (or re-run workflow)
Your site will be live at: https://<your-username>.github.io/<repo-name>
Note
The workflow in gh-pages.yml will automatically build and deploy your site.
Disable/Delete it if you're not deploying with GitHub Pages.
Tip
Go to Settings β Actions β General and enable:
- Read and write permissions
- Allow GitHub Actions to create and approve pull requests
This enables update-blowfish.yml to create Pull Requests when Blowfish updates.
Disable/delete it if you don't want Blowfish update
- Create a new project (with Pages, not Workers)
- Connect your repository
- Set framework to Hugo
- Build command:
hugo - Output directory:
public
- Build command:
- Deploy
Tip
(Optional) Change build command to:
hugo --gc --minify
- Import your repo
- Deploy
Note
The included netlify.toml handles everything automatically.
Delete it if you're not deploying to Netlify.
- Import your repo
- Deploy
Tip
(Optional) Add an Environment Variable:
HUGO_VERSION=0.155.3- Create a Static Site
- Connect your repository
- Set build command to:
bash render.sh
.
βββ config/_default/ # Hugo configuration
βββ content/ # Site content
βββ themes/blowfish/ # Blowfish theme
βββ render.sh # Render build script
βββ netlify.toml # Netlify config
βββ .github/workflows/ # GitHub Actions
This template already includes:
- βοΈ Pre-configured
config/_default - π A ready homepage (
content/_index.md)
So your site:
- β‘οΈ Builds immediately
- π Doesnβt break on first deploy
- π§ Requires no initial setup
Important
- Blowfish requires Hugo Extended for SCSS support
- Recommended version:
0.155.3or newer
- Recommended version:
- All builds output to the
public/directory - π§ Designed to work without modifying configuration files
- π¦ Works on both root domains and project subpaths
Head over to Blowfish Documentations: Basic Configuration
- Hugo Static Site Generator
- Blowfish Theme by Nuno Coracao
If you found this useful, consider giving this repo a β!
Note
This template is a non-CLI/terminal alternative to install and deploy Blowfish. If you want to install Blowfish via CLI/terminal on your local machine, see Blowfish Installation.
Curious how this was built from a phone? π
π Read the devlog: Building a Blowfish Starter Template