add proper tags to YAML frontmatter