Merge pull request #15 from hugozhu/master

Correct the num of pages when total_posts exactly equals to per_page
Merge pull request #16 from hugozhu/master

added widget support (tested with google-pretty) for posts paginator
add: 开始重构, 先整理payload
fix: gor post 提示不是gor目录
fix: 中文URL会找不到文件 -- 原因是输出具体路径时没有反抹除
在URL中,将空格和冒号替换为_
Merge pull request #18 from hugozhu/master

增加{:toc}的支持