Split main.html into front_matter.html and main.html.