Split the templates into base and home.