Markdown has standardized on frontmatter. Don't want to force frontmatter on other file types e.g. JSX.
My proposal for the post-build is that we create a special metadata gathering webpack entry file that pulls in all pages and grabs their metadata. Each loader would need to return a metadata key.