@maul-esel's frontmatter defaults work, rebased

Rebased version of #1527.