Table of Contents

Presentation

hugo-qclug-aug-10-2016.pdf

hugo-qclug-aug-10-2016.odp

Hugo - Self Hosted

Installation

Create site

mkdir newsite
cd newsite
hugo new site .
hugo new post/welcome.md
git clone https://github.com/fredrikloch/hugo-uno.git themes/hugo-uno

Run site with Hugo

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

Hugo - Hosted on GitHub Pages (Personal/Organization)

cd newsite
git init .
git remote add origin https://github.com/username/yourproject-hugo.git
rm -rf public
git submodule add -b master https://github.com/username/username.github.io.git public
hugo --baseURL http://username.github.io --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

Credits

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

https://gohugo.io/tutorials/github-pages-blog

https://www.youtube.com/watch?v=w7Ft2ymGmfc