Hosted at https://pakkudon.github.io/blog/
This blog was built using Hugo.
- Install
hugo
extended version (Application built using hugo v0.131.0, but may work with newer versions)
- Run
hugo server
. - Visit http://localhost:1313/blog/ to view changes.
- Run
hugo new post/<date in YYYY-MM-DD>-<post slug>
- Edit new markdown file in
content/post/<date in YYYY-MM-DD>-<post slug>
directory
Changes pushed to main
are automatically deployed to Github Pages. This is done via a workflow defined in .github/workflows/hugo.yml
.
Themes are installed as git submodules. Run the following to pull in the latest commits for installed themes
git submodule foreach git pull origin master
- Download the latest available release from https://github.com/gohugoio/hugo/releases
- Install Hugo using your choice of package manager if required
- Update
HUGO_VERSION
in.github/workflows/hugo.yml
to ensure CI uses same Hugo version as local environment
# Example
curl -LJO https://github.com/gohugoio/hugo/releases/download/v0.131.0/hugo_0.131.0_linux-amd64.deb
sudo dpkg -i hugo_0.131.0_linux-amd64.deb
rm hugo_0.131.0_linux-amd64.deb
Alternatively, see Hugo's docs for other methods