dynamically populate frontmatter input fields