I am building a front-end website, no back-end code at all, since I want to host it on GitHub pages, and honestly adding any back-end would be overkill.
Is there a way to include common elements of the website in each webpage easily? For example, add a special tag that specifies which html file to replace that tag with and running a command that will do that and place it in a file which will be the final product? This is so I can have this instead of copy-pasting my nav-bar code whenever I make a small change for example.
Is there a NodeJS package for this?
I saw similar questions, however, they aren't exactly asking for the same thing as I'm looking for...