Add YAML frontmatter to Index