Added support for pagination with a blog index in any directory (helps with landing pages). Added configuration for pagination directory base

This commit is contained in:
Brandon Mathis
2011-08-15 23:59:28 -04:00
parent a5f87149fe
commit 1c555116be
3 changed files with 162 additions and 3 deletions

View File

@ -29,8 +29,9 @@ category_dir: blog/categories
markdown: rdiscount
pygments: false # default python pygments have been replaced by pygments.rb
paginate: 10 # Posts per page on the blog index
recent_posts: 5 # Posts in the sidebar Recent Posts section
paginate: 10 # Posts per page on the blog index
pagination_dir: blog # Directory base for pagination URLs eg. /blog/page/2/
recent_posts: 5 # Posts in the sidebar Recent Posts section
# list each of the sidebar modules you want to include, in the order you want them to appear.
# To add custom asides, create files in /source/_includes/custom/asides/ and add them to the list like 'custom/asides/custom_aside_name.html'