diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-07-23 01:17:47 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-07-23 01:18:02 -0400 |
commit | fe074b2c1b08046d26c5f191889743ef4115bc55 (patch) | |
tree | 43d2043cdb3c2b58471fca6bbca054fe3650e59c /plugins | |
parent | da38dbe5847c9bbf231119f3b60fae0800c0370b (diff) | |
download | my_new_personal_website-fe074b2c1b08046d26c5f191889743ef4115bc55.tar.xz my_new_personal_website-fe074b2c1b08046d26c5f191889743ef4115bc55.zip |
removed some unnecessary steps from the category_generator plugin to avoid confusion
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/category_generator.rb | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/category_generator.rb b/plugins/category_generator.rb index e636781e..205022d3 100644 --- a/plugins/category_generator.rb +++ b/plugins/category_generator.rb @@ -8,32 +8,6 @@ # # A generator that creates category pages for jekyll sites. # -# To use it, simply drop this script into the _plugins directory of your Jekyll site. You should -# also create a file called 'category_index.html' in the _layouts directory of your jekyll site -# with the following contents (note: you should remove the leading '# ' characters): -# -# ================================== COPY BELOW THIS LINE ================================== -# --- -# layout: default -# --- -# -# <h1 class="category">{{ page.title }}</h1> -# <ul class="posts"> -# {% for post in site.categories[page.category] %} -# <div>{{ post.date | date_to_html_string }}</div> -# <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> -# <div class="categories">Filed under {{ post.categories | category_links }}</div> -# {% endfor %} -# </ul> -# ================================== COPY ABOVE THIS LINE ================================== -# -# You can alter the _layout_ setting if you wish to use an alternate layout, and obviously you -# can change the HTML above as you see fit. -# -# When you compile your jekyll site, this plugin will loop through the list of categories in your -# site, and use the layout above to generate a page for each one with a list of links to the -# individual posts. -# # Included filters : # - category_links: Outputs the list of categories as comma-separated <a> links. # - date_to_html_string: Outputs the post.date as formatted html, with hooks for CSS styling. |