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:
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user