A blog website may contain various categories of things. Putting posts all together
in page list can be very messy sometimes and it is hard for readers to find posts
within the same categories.
Here is some steps to display categories in Jekyll.
Display categories for each Post
The following piece of code shows categories for each post and also have links points to
all posts within that category. You can place this code anywhere you like.
A category page
Create a file called categories.html under your root of the blog website and
paste the following code in.
The page will look like this. It will have all the categories listed out. One article can be listed in many categories. This happens when you use more than one category for a post.