I quote Front Matter of the officail site of Jekyll.

The front matter is where Jekyll starts to get really cool. Any file that contains a YAML front matter block will be processed by Jekyll as Special file.

The front matter must be the first thing in the file and must take the form of valid YAML set between triple-dashed line.

Miguel