Install Hugo

Installing my first GH pages

  • First Read the official guide.
  • Then I learned I could use Hugo. I love Go.
  • I followed the Hugo Geting started-guide.
  • Also how to install and deploy on Github. install on Github.
  • I chose a theme I liked from the Hugo theme pages.
  • Use the peaceiris/actions-hugo actions
  • Some trial and errors later.
    • You must change your Toml-file accordingly, in my case, from the theme I chose.
    • You must build before deploy. hugo
    • You must select gh-pages branch as source in Settings -> Pages
    • In my ./content/posts/install-hugo.md I had to change draft: true to draft: false