Creating Category
First, we need to understand how to create a post then we will be able to create categories.
Post Creation To create a post in your blog first you need to go to the folder named posts. Here, create a file _index.md(The file name has to be exactly the same as it is mentioned). Then open the file and add below lines: --- title: Posts --- now, save and close the file. Now, Suppose, you want to write a post. First, create a file, name it with a markdown extension at the end. For example: we’ve created a file named analytics-and-comments.md and added the below lines of contents: