Rewrite the navigation bar in JavaScript
Description
This might be a moon shot, but I'm opening this issue to discuss. From a recent discussion with Suzanne, I pointed out to her that the biggest offender on why our site is that big (and also takes so much time to build), is that we build and include the navbar on each page.
If you open a page's source code, you'll see that at least 95% of it is the navbar HTML code.
Proposal
Implement the navbar in JavaScript so that it can be compiled once and then loaded dynamically in each page.
Edited by Achilleas Pipinellis