Skip to main content

How to add a new Hugo blog post

·43 words·1 min
Bemn
Author
Bemn
Hong Konger.
Table of Contents

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.