├── VERSION
├── _layouts
└── category_index.html
├── _plugins
└── octopress_filters.rb
├── LICENSE
├── _includes
└── custom
│ └── category_feed.xml
├── generate_sitemap.rb
├── README.markdown
├── generate_categories.rb
└── generate_projects.rb
/VERSION:
--------------------------------------------------------------------------------
1 | 0.2.4
--------------------------------------------------------------------------------
/_layouts/category_index.html:
--------------------------------------------------------------------------------
1 | ---
2 | layout: default
3 | ---
4 |
5 |
7 | {% for post in site.categories[page.category] %}
8 | {{ post.date | date_to_html_string }}
9 |
10 | Filed under {{ post.categories | category_links }}
11 | {% endfor %}
12 |
--------------------------------------------------------------------------------
/_plugins/octopress_filters.rb:
--------------------------------------------------------------------------------
1 | # Filters taken from the Octopress project by Brandon Mathis.
2 | # https://github.com/imathis/octopress/blob/master/plugins/octopress_filters.rb
3 | module Jekyll
4 |
5 | module Filters
6 |
7 | # Escapes CDATA sections in post content
8 | def cdata_escape(input)
9 | input.gsub(//, ']]>')
10 | end
11 |
12 | # Replaces relative urls with full urls
13 | def expand_urls(input, url='')
14 | url ||= '/'
15 | input.gsub /(\s+(href|src)\s*=\s*["|']{1})(\/[^\"'>]*)/ do
16 | $1+url+$3
17 | end
18 | end
19 |
20 | end
21 |
22 | end
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2010 Dave Perrett, http://recursive-design.com/
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy
4 | of this software and associated documentation files (the "Software"), to deal
5 | in the Software without restriction, including without limitation the rights
6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 | copies of the Software, and to permit persons to whom the Software is
8 | furnished to do so, subject to the following conditions:
9 |
10 | The above copyright notice and this permission notice shall be included in
11 | all copies or substantial portions of the Software.
12 |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19 | THE SOFTWARE.
--------------------------------------------------------------------------------
/_includes/custom/category_feed.xml:
--------------------------------------------------------------------------------
1 | ---
2 | layout: nil
3 | ---
4 |
5 |
24 | # {% for post in site.categories[page.category] %}
25 | # {{ post.date | date_to_html_string }}
26 | #
27 | # Filed under {{ post.categories | category_links }}
28 | # {% endfor %}
29 | #
30 | # ================================== COPY ABOVE THIS LINE ==================================
31 | #
32 | # You can alter the _layout_ setting if you wish to use an alternate layout, and obviously you
33 | # can change the HTML above as you see fit.
34 | #
35 | # When you compile your jekyll site, this plugin will loop through the list of categories in your
36 | # site, and use the layout above to generate a page for each one with a list of links to the
37 | # individual posts.
38 | #
39 | # You can also (optionally) generate an atom.xml feed for each category. To do this, copy
40 | # the category_feed.xml file to the _includes/custom directory of your own project
41 | # (https://github.com/recurser/jekyll-plugins/blob/master/_includes/custom/category_feed.xml).
42 | # You'll also need to copy the octopress_filters.rb file into the _plugins directory of your
43 | # project as the category_feed.xml requires a couple of extra filters
44 | # (https://github.com/recurser/jekyll-plugins/blob/master/_plugins/octopress_filters.rb).
45 | #
46 | # Included filters :
47 | # - category_links: Outputs the list of categories as comma-separated