Browse code

removed some unnecessary steps from the category_generator plugin to avoid confusion

Brandon Mathis authored on 23/07/2011 at 05:17:47
Showing 1 changed files
... ...
@@ -8,32 +8,6 @@
8 8
 #
9 9
 # A generator that creates category pages for jekyll sites.
10 10
 #
11
-# To use it, simply drop this script into the _plugins directory of your Jekyll site. You should
12
-# also create a file called 'category_index.html' in the _layouts directory of your jekyll site
13
-# with the following contents (note: you should remove the leading '# ' characters):
14
-#
15
-# ================================== COPY BELOW THIS LINE ==================================
16
-# ---
17
-# layout: default
18
-# ---
19
-#
20
-# <h1 class="category">{{ page.title }}</h1>
21
-# <ul class="posts">
22
-# {% for post in site.categories[page.category] %}
23
-#     <div>{{ post.date | date_to_html_string }}</div>
24
-#     <h2><a href="{{ post.url }}">{{ post.title }}</a></h2>
25
-#     <div class="categories">Filed under {{ post.categories | category_links }}</div>
26
-# {% endfor %}
27
-# </ul>
28
-# ================================== COPY ABOVE THIS LINE ==================================
29
-#
30
-# You can alter the _layout_ setting if you wish to use an alternate layout, and obviously you
31
-# can change the HTML above as you see fit.
32
-#
33
-# When you compile your jekyll site, this plugin will loop through the list of categories in your
34
-# site, and use the layout above to generate a page for each one with a list of links to the
35
-# individual posts.
36
-#
37 11
 # Included filters :
38 12
 # - category_links:      Outputs the list of categories as comma-separated <a> links.
39 13
 # - date_to_html_string: Outputs the post.date as formatted html, with hooks for CSS styling.