add frontmatter to header