If you want to work with frontmatter in Ruby, you need to know the front_matter_parser gem. Here is everything you need.