Hugo SSG of tupsula.fi version because Wordpress and PHP kinda sucks.
Site is currently running on https://tupsula.fi. Site is powered by Cloudflare's Pages. Site is also served under https://tupsula.pages.dev
CF Pages creates automatically websites of each branch. This follows logic https://<branch_name>.tupsula.pages.dev. After adding new features and/or changes, create pull request to master branch (remember to select correct branches). Keep in mind that free tier of CF Pages gives something like 500 builds per month. So if you're doing completely new features, develop site locally.
Basic text editing is done under /tupsula/content/. Just look sites that have been already made for examples.
If any issues arise, contact @sampozki.
Go to site's folder and run:
hugoGo to site's folder and run:
# Install submodules
git submodule update --init
hugo serverHugo needs go.
Install go from go.dev/doc/install
Or follow:
wget https://go.dev/dl/go1.24.5.linux-amd64.tar.gz
rm -rf /usr/local/go && tar -C /usr/local -xzf go1.24.5.linux-amd64.tar.gz
export PATH=$PATH:/usr/local/go/bin
go version# Uses currently this version:
VERSION=0.148.2
wget https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_extended_${VERSION}_Linux-64bit.tar.gz
tar -xvzf hugo_extended_${VERSION}_Linux-64bit.tar.gz
# Installation location doesn't matter. Hugo is just a single bin file
sudo mv hugo /usr/local/bin/
sudo chmod +x /usr/local/bin/hugoSite is currently running on top of Cloudflare Pages. It is connected to this repository. Everytimes master branch gets pushed it builds a new site.
Custom domain can be created with CNAME record.
- Build command: hugo
- Build output: public
- Root directory: tupsula
- HUGO_ENV = production
- HUGO_VERSION 0.148.2
- Finish the site