Skip to content

Hugo

Install hugo

This particular website is powered by Hugo.

Go

Before installing Hugo, install Go

Installing Hugo via Go ensures it's compiled for the environment. But it can take a minute to complete.

go install -tags extended github.com/gohugoio/hugo@latest

Creating a new website

hugo new site my-site

Installing the m10c theme

cd my-site
git clone https://github.com/vaga/hugo-theme-m10c.git themes/m10c

Remove some of the things that aren't necessary

rm -rf themes/m10c/.git
rm -rf themes/m10c/exampleSite
rm -rf themes/m10c/images/*

Run it

hugo serve

and open http://localhost:1313

Add some content

hugo new posts/my-first-post.md