create a partial for main.html