make nav a reusable template.