a list using tags and categories

---
layout: post
category: ~~~
tags: ~~~
---

When you make a post in jekyll with front matter. You have to write that information if you want tag and category.

And then, you can make a list based on tags and category.

At first, I will make tags-based list that I want.

let’s see example of code from codeinfox

So If you want to make tags-based list that you want. make page(.html, .md) for this source !

And then, if You did, you can see as follows.

let’s split the above code to understand the code.

the above code is just extracting tags included in posts as follows.

And the rest of above code makes a tags-based list.

Then let’s see code below.

The above code makes a list of each tags like this :

In this code, if you change “site.tags” into “site.categories”, that is a list based on category.

that code is as follows.

But In my case, I change the above code a little to fit my wegsite.

How to chang my code you can see another another of my blog explaing to you how to make cloud system of tags and categories.

After I mended the above example code to fit situation that I want. the final look is like this :

information of terminology

What is the category in jekyll ?

  • instead of placing posts inside of folders, you can specify one or more categories that the post belong to. when the site is generated the post will act as though it had been set with these categories normally. Categories can be specified as a YAML List(front matter) or a space-separated string.

I also use frot matter to express categories.

What is tags in jekyll ?

  • this similar to categories, one or multiple tags cans be added to a post. Also like categories, tags can be specified as a YAML List(front matter) or a space-separated string.

I also use frot matter to express tags.

Reference