This post was published at 05 Apr 2018


Is a simple blog, static site generator for personal projects.
Hugo is written in Golang.
See more info here.


For installing Hugo, we just need install some dependencies:

  • Golang: Programming language, view my installation tutorial here.

  • Hugo:

    go get -v

Creating a static web

  • If hugo exe doesnt generate, go to $GOPATH/src/ and run:

    go build -o hugo main.go
  • Then, mv hugo binary to go/bin src.

Creating a new project on your local machine:

hugo new site webApp


Note: by default hugo doesnt have theme, in other words, when you run hugo serve, it shows a blank page.

So, we need to install a theme to test hugo serve.


Then, in the theme/ directory, download theme from repository:

cd webApp/themes
git clone

Next, copy the file themes/hugo-elate-theme/exampleSite/config.toml to the main config.toml in your site.

You can look for more themes here.


Finally, start the static web by default in port 1313:

hugo serve

or, in a specific port and host (Note: if you use port 80 or 443, use sudo):

sudo hugo serve --port 80 --bind localhost


In your favourite browser, enter to localhost:1313: