Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

longkey1/jekyll-category-list-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Category list plugin for Jekyll

This plugin was referred to Jekyll - Category List Plug-in.

How to install

Get dependency package

cd /path/to/jekyll

vi Gemfile

+ gem 'stringex'

bundle install --path vendor/bundle

or by gem command

gem install stringex

Get category_list_tag.rb

cd /path/to/plugins
wget https://raw.github.com/longkey1/jekyll-category-list-plugin/master/category_list_tag.rb

or by git-submodule

cd /path/to/jekyll
git submodule add git://github.com/longkey1/jekyll-category-list-plugin.git _plugins/category-list

Create category list template file

example: category_list.html

vi /path/to/jekyll/_includes/category_list.html

+ <section>
+   <h1>Categories</h1>
+   <ul id="categories">
+     {% category_list %}
+   </ul>
+ </section>

Build

cd /path/to/jekyll
jekyll build

About

jekyll plugin for displapy category list

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages