Abstract rendering a blog post and page into functions
Separate logic of different site views