Clean up and strip frontmatter