Create new post using Hugo
To create a new post in our site, run below command: hugo new content content/posts/new-post.md This will create ’new-post.md’ file with frontmatter. Remove the field ‘draft’ field from frontmatter once the post is ready to be published. By default hugo do not publish the draft posts. Don’t worry, during development we can include draft content using option --buildDrafts or -D. To run hugo server: hugo server To run hugo server with draft content, use:...