How to create categories - piensa/piensa.github.io GitHub Wiki
Follow this steps to create a category for the blog:
- Go to the _pages directory and create a file with the name of the category. Within that file, just add these line at the top of it.
---
layout: category
title: Artificial Intelligence Posts
description: This text is optional
category: artificial intelligence
permalink: /category/artificial-intelligence/
---
- When creating a post, remember to add this lines at the top pf it.
---
...
category: artificial intelligence
category-url: artificial-intelligence
---
- Build the site and push your changes to the repo