Updated template to include partials