using page.Type distinction between page and post