Fixes template and front matter format