respect blog config postDir
make maxPosts a number
implement pagination on blog index
move pagination to a module and use it in all necessary routes
fix merge conflict
Merge pull request #6 from nlf/master

implemented basic pagination