load generator using frontmatter