Add blog method to get post and its index via URL.