decide right post url by permalink format

Try to figure out the proper url format by `site.confi['permalink']`. May need further polish.

Reference:
[Jekyll permalink schema](https://github.com/mojombo/jekyll/wiki/Permalinks)