migrated some pages to templates