Hugo Tips
Cheet sheet to interact with hugo.
Hugo Tips
Here’s some tips to quickstart with hugo.
Init
Init your hugo site. The skeleton will be created.
hugo new site <foldername>
Adding Theme
git submodule add https://github.com/victoriadrake/hugo-theme-introduction.git themes/introduction
Update themes
git submodule init
git submodule update
New content
hugo new posts/new-post.md
Deploy
Deploy your site on VPS.
hugo && rsync -avz --delete public/ het:/var/www/blog
Work with meta tags
All you need is to go to themes directory, then go copy /themes/<themename>/layouts/partials/head-open.html
file to your /layouts/partials
. Hugo will then found it first and use it.