frontMatter parsing method