Tag cloud plugin for Octopress
Ruby
Latest commit 1592d93 Jul 14, 2013 @tokkonopapa fixed #6 and delete 1 space
Permalink
Failed to load latest commit information.
plugins fixed #6 and delete 1 space Jul 14, 2013
source/_includes/custom/asides Upstream first version Jan 5, 2012
README.md Deleted Copyright in README.md Jan 6, 2012

README.md

Tag Cloud for Octopress

Description:

Easy output tag cloud and category list.

Files:

.
├─ plugins/
│  └── tag_cloud.rb
└─ source/
   └─ _includes/
      └─ custom/
         └─ asides/
            ├─ category_list.html
            └─ tag_cloud.html

Syntax:

{% tag_cloud [counter:true] %}
{% category_list [counter:true] %}

Example:

In some template files, you can add the following markups.

source/_includes/custom/asides/tag_cloud.html

<section>
  <h1>Tag Cloud</h1>
    <span id="tag-cloud">{% tag_cloud %}</span>
</section>

source/_includes/custom/asides/category_list.html

<section>
  <h1>Categories</h1>
    <ul id="category-list">{% category_list counter:true %}</ul>
</section>

Notes:

Be sure to insert above template files into default_asides array in _config.yml. And also you can define styles for 'tag-cloud' or 'category-list' in a .scss file. (ex: sass/custom/_styles.scss)

Licence:

Distributed under the MIT License.