Extracted the navbar from template