use frontmatter format in addition to pure YAML

Frontmatter is the same format that Github's Jekyll uses. Luckily, both
are easy to support.

Fixes #43