Hugo SSG tupsula.fi version because Wordpress and PHP sucks.
Site is currently running on beta.tupsula.fi. Site is powered by CF Pages.
Go to site's folder and run:
hugo
Go to site's folder and run:
hugo server
Hugo 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/hugo
Site 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