Tagging

jekyll-tagging is a plugin that enables better tag support in Jekyll sites.

Usage

  1. Add the following line to your Gemfile
gem 'jekyll-tagging`
  1. Add the following settings to your _config.yml file
tag_page_layout: tags
tag_page_dir: tags
  1. (optional) Add a tag index page tags/index.html with the following content
---
title: Tags
layout: tag_index
---
  1. Add tags to your posts

To assign tags to a post, include them in the front matter

---
title: My Sample Post
tags: [jekyll, tutorial, plugins]
---

Demo

Live demo

Additional resources

In this article