1. Install hugo

sudo apt install hugo

  1. Check hugo version

hugo versin

  1. Create new hugo site
cd /var/www/
hugo new site your-site.com
cd /var/www/your-site.com
  1. Install theme

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

add following to config.toml

theme = "m10c"

  1. Add new post

hugo new content content/posts/name-of-the-post.md --kind post

where kind post is the name of template of post saved in folder archetypes

  1. Edit post

nano content/posts/name-of-the-post.md

  1. Publish

hugo