bobmcwhirter/awestruct — Issue #81: Add all posts per time period pages to pagination extension
Author: mojavelinux
Created: 2012-02-28 00:53:18+00:00
State: open

Create pages for all posts per time period in the paginator extension.

For example, create these pages:

- /blog/#{year}/index.html
- /blog/#{year}/#{month}/index.html
- /blog/#{year}/#{month}/{#day}/index.html

Which time periods to create should be configurable.

extension Awestruct::Extensions::Paginator.new(:posts, '/blog/index', [:per_page => 5, :by_period => [:year, :month]])

If necessary, create a separate extension for this functionality.