User Tools

Site Tools



Hugo - Self Hosted


Create site

mkdir newsite
cd newsite
hugo new site .
hugo new post/
git clone themes/hugo-uno

Run site with Hugo

hugo server -w --bind --baseURL http://hostname.domain.local --port 1313 --theme hugo-uno

Hugo - Hosted on GitHub Pages (Personal/Organization)

  • Complete the steps above to generate your Hugo page
  • Create a free account at
  • Create two Public repositories (must be Public repositories if you want to use GitHub pages for free)
    • (it will host the public folder: the static website)
    • yourproject-hugo (it will host Hugo’s content)
cd newsite
git init .
git remote add origin
rm -rf public
git submodule add -b master public
hugo --baseURL --theme hugo-uno
cd public
git add .
git commit -a -m "rebuilding site `date`"
git push origin master
cd ..
git add .
git commit -a -m "project repo for hugo site `date`"
git push origin master


Steps in this guide were taken from the following documentation/tutorials:

wiki/qclug_presentations/hugo.txt · Last modified: 2016/08/10 04:16 by Aaron Johnson