diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-08-15 23:59:28 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-08-16 00:43:22 -0400 |
commit | 1c555116be19efe29d19d19286abbb21085a5756 (patch) | |
tree | c843bf8683b1c0dcd8a9467663f87a9e2b6f569d /_config.yml | |
parent | a5f87149fec051cbc395bc645de71469361f8c78 (diff) | |
download | my_new_personal_website-1c555116be19efe29d19d19286abbb21085a5756.tar.xz my_new_personal_website-1c555116be19efe29d19d19286abbb21085a5756.zip |
Added support for pagination with a blog index in any directory (helps with landing pages). Added configuration for pagination directory base
Diffstat (limited to '_config.yml')
-rw-r--r-- | _config.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/_config.yml b/_config.yml index 3d6fee89..403f9ba8 100644 --- a/_config.yml +++ b/_config.yml @@ -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' |