Gangmax Blog

自由之思想,独立之精神

Add 'Cloud_tag' and 'Category_list' Plugins to Octopress

| Comments

From here.

  1. Get the source code of this plugin:
1
git clone https://github.com/tokkonopapa/octopress-tagcloud.git
  1. Copy files to your local octopress:
1
2
3
cd octopress-tagcloud/
cp plugins/tag_cloud.rb directory/to/your/local/github/octopress/plugins/
cp source/_includes/custom/asides/* directory/to/your/local/octopress/source/_includes/custom/asides/
  1. Modify “_config.yml”, add the following in the “default_asides” section:
1
custom/asides/cloud_tag.html, custom/asides/category_list.html
  1. Run Octopress to test:
1
2
rake generate
rake preview

Comments