The header provides the necessary template metadata and allows you to setup a template option blueprint specific to the template. The header is written in YAML at the top of the template's HTML file.


The template's title.


The template's unique identifier. HTML files with a cname provided will be treated as templates. Files without will be treated as layouts or imports.


The template type, either page or embed. This defaults to page.


The cname of a layout template to render this template within. This is optional.


Template options can be added with a blueprint field, identical to the theme blueprint structure but written with YAML syntax. These template options are then passed into the templates as variables.

{{ options.options_group_name.option_name }}
title: Template Title
cname: mainpage
layout: layout // optional, cname of layout
blueprint: ...

<div pd-editable="main"></div>