Add YAML frontmatter to each doc file