Skip to content
Branch: master
Go to file

Latest commit


Failed to load latest commit information.
Latest commit message
Commit time


Yearly and Monthly Archive Index Generator for Jekyll

This generator was built to migrate my website from Wordpress to Jekyll but maintain the existing permalink structure. I'm incredibly anal when it comes to nice URLs, so I needed an index page for each segment of my permalinked URLs.


This Generator is based on code from the Jekyll category page generator ( by Dave Perrett ( and the Monthly archive plugin for Jekyll ( by Shigeya Suzuki ( I'm not much of a Ruby dev, so this would not have been possible without their working examples.


To use it, simply drop this script into the _plugins directory of your Jekyll site and drop the monthly_index.html and yearly_index.html files into the _layouts directory of your site. Feel free to edit the layouts and/or front matter as you see fit.

When you compile your jekyll site, this plugin will loop through your posts, and use the layouts above to generate a page for each year and month with a list of links to the individual posts.


For instance, if you have the following posts:

  • 2013-01-01-test-post-1.markdown
  • 2014-01-01-test-post-2.markdown
  • 2014-02-01-test-post-3.markdown

This plugin will create the following index files:

  • 2013/index.html
  • 2013/01/index.html
  • 2014/index.html
  • 2014/01/index.html
  • 2014/02/index.html

Copyright (c) 2014 Eric DeLabar,
Licensed under the MIT license (


Yearly and Monthly Archive Generator for Jekyll




No releases published


You can’t perform that action at this time.