change site.posts => site.pages
change pagnitor.posts => site.posts