pages must have a 'template_name'