load front matter into form, move custom styles out