simplify relative permalink deprecation
remove duplicated render code for posts and pages
extract pages.any?... in own method
Merge pull request #1638 from maul-esel/render-page-or-post

Refactor Site#render