Go to blog
folder
hugo new posts/name-of-the-new-post.md
Write your post. Back to blog
folder and then
hugo server -D
Then you can preview your blog locally.
Deploy production#
Change draft=true
in the blog post and then
hugo
Push to remote master
.
Done.