h1. My Jekyll Extensions
These are my extensions that I'm using for my personal blog at "RFelix.com":http://rfelix.com.
Each extension has a _sampledata/ dir which contains example files and the directories that they should be in to help you use them.
Here's a quick explanation of each extension:
- archive_gen: allows you to automatically generate archive pages for dates like 2010/, 2010/01/, and 2010/01/12 using files in _layouts to specify what each page will look like. e.g. Posts for "January 2010":http://rfelix.com/2010/01
- tag_gen: allows you to automatically generate tag pages for each tag using files in _layouts to specify what each page will look like. e.g. "Ruby":http://rfelix.com/tags/ruby
* Thanks to "danc":http://github.com/danc, tag_gen* now also creates a list of related tags that can be used (seem tag_gen/sample directory)
- category_gen: allows you to automatically generate category pages for each category using files in _layouts to specify what each page will look like. e.g. "Programming":http://rfelix.com/topics/Programming
- categories_in_posts: folders created under _posts/ will be considered as categories for the post files in them.
- tag_category_iterator: allows you to iterate over all tags/categories and then iterate over the posts in those tags/categories. You can use this to automatically generate a tag cloud and a category page listing. e.g. "Tag Cloud":http://rfelix.com/tags and "Topics Listing":http://rfelix.com/topics
- post_preview: allows you to delimit your post and then extract a preview from and display a "Continue Reading..." link. e.g. "RFelix.com Homepage":http://rfelix.com
These extensions use "_jekyllext":http://github.com/rfelix/jekyll_ext, which allows you to extend the Jekyll static blog generator without forking and modifying it's codebase.
With this code, not only do your extensions live in your blog directory, but they can also be shared and reutilized.
Use these extensions with _jekyllext by just cloning this repo into the _extensions dir of your blog: git clone git://github.com/rfelix/my_jekyll_extensions.git _extensions
More information about _jekyllext can be found here: "Jekyll Extensions -= Pain":http://rfelix.com/2010/01/19/jekyll-extensions-minus-equal-pain/