diff options
-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. |