linked the trending posts to its respective post pages and structured the content on the post page