Adds front matter to pages and also uses it in header.html