- Install hugo
sudo apt install hugo
- Check hugo version
hugo versin
- Create new hugo site
cd /var/www/
hugo new site your-site.com
cd /var/www/your-site.com
- Install theme
git clone https://github.com/vaga/hugo-theme-m10c themes/m10c
add following to config.toml
theme = "m10c"
- 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
- Edit post
nano content/posts/name-of-the-post.md
- Publish
hugo