-
Run:
hugo new posts/<uri_of_post>.md
-
Open in markdown editor (e.g. Obsidian)
-
Once you’ve finished writing the post change
draft
fromtrue
tofalse
-
Navigate in your terminal to the main blog directory and run
hugo
-
Navigate to the public directory
-
Run
git add .
-
Run
Git commit -m "<name of blog post>"
-
Run
git push origin master