Anyone know if you can have a separate HTML file for the navbar and link to it
from all the page files? Updating the navbar in each page to ensure consistency
is a pain!
Post is in the link - simplest method possible please: my web dev skills are weak!
Its probably better to use some form of server-side rendering.
You can put it in an
iframe
, but that’s bad for accessibility. You can put it in a regularframe
, but that element is deprecated.You could also make a small script that adds the contents of the file into a
div