changed the confusing %page @pages to %post and @posts