User Tools

Site Tools


wiki:qclug_presentations:hugo

This is an old revision of the document!


Presentation

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
vim config.toml
  • Add the following line:
theme = "hugo-uno"

Run site with Hugo

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

Hugo - Hosted on GitHub Pages (Personal/Organization)

  • Create a free account at github.com
  • Create two Public repositories (must be Public repositories if you want to use GitHub pages for free)
    • username.github.io (it will host the public folder: the static website)
    • your_project-hugo (it will host Hugo’s content)

<code> mkdir newsite cd git init . git checkout –orphan gh-pages

wiki/qclug_presentations/hugo.1470799376.txt.gz · Last modified: 2016/08/10 03:22 by Aaron Johnson