fix bug with frontmatter not rendering