add YAML frontmatter to html pages