moved pages to templates