Skip to content

Create a Reusable Navbar Template #308

@jineshnagori

Description

@jineshnagori

The navbar HTML is identical across all pages. To fix this, we need to create a single source of truth for it.

Tasks:

  • Create a new folder named templates/.
  • Inside it, create a new file: navbar.html.
  • Copy the entire <nav>...</nav> block from any page and paste it into navbar.html.
  • On each page (e.g., index.html), replace the hardcoded navbar with a placeholder: <div id="navbar-placeholder"></div>

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions