Support custom frontmatter data in permalinks