When you want to create a new post, the command is
hugo new blog/new-post.md.
You can configure your blog post from the front-matter. Front-matter starts with
--- and end with also
--- . In this front matter you can give
author = author name,
description = meta description,
image = images/blog/post-thumb.jpg,
When you created a new post, the
draft default value is
true, which means it’s not published yet. Make it false to publish the post, ex:
draft = false.
After closing the front matter, give your post content.
Remember that every file that has a
.md extension supports markdown.
--- title: "Lower Back Pain? Self-Administered Acupressure Could Help" date: 2019-10-17T11:22:16+06:00 draft: false description : "this is a meta description" image: "images/blog/post-1.jpg" author: "John Doe" ---