Parses YAML front matter block at the begining of the document.
Interpreted variables: title, published, category/categories/tags