Pages need the following inline YAML front matter at a minimum:

layoutThe layout this page is to be rendered through. The example site has a page.tpl layout for basics pages. Do NOT put the extension on the layout name in the front matter, so page.tpl is just page as far as the YAML front matter is concerned.
titleThis is the title of the page as it appears at the top of the page and in the browser’s tab.
descriptionThis is the page description as it appears in the head section meta data and in some of the templates — such as the archive — on the example site.
dateIn YYYY-MM-DD HH:MM format. This is the date the page is published. If you don’t enter a date, the system will try to guess it from the file time.


Posts have all the same front matter as pages but they can also have:

excerptThis is the excerpt of the post that appears on the home pages. If you don’t specify an excerpt, GreenHat will use the first 100 words of your content.
iconThis is an absolute path (without the domain name) to an icon to display alongside the post on the home page.
tagsThe tags for this page.
catsThe categories for this page.

Obviously you don’t have to have tags and categories at all. Personally I just use tags. A single tag is specified as follows:

tags: tech

Multiple tags are specified inside square brackets and separated by commas, such as:

tags: [tech,review]

Optional Front Matter

There are a few optional tags too:

btitleIf you want the browser window to have a different title to the one that heads your post or page, use this setting.
authorIf you want a different author to the site default, specify the author here. It should refer to an author section name in the _config.yaml file.
robotsThis can be used to specify the metarobots HTML head values.
sitemapBy default, all pages and posts are included in the sitemap. If you don’t want a page or post in the sitemap, add sitemap: false to the front matter.