Creating layout for current, recent, and archived posts.