I'm currently coding a plain HTML/CSS/JS website (on a Linux desktop) without any dynamically generated code such as PHP but I've run into the problem that if I decide to change the menu or the footer, I have to change it in all (20+) files.
Seeing as including html files with JavaScript is a bit ugly and makes the resulting code unnecessarily complicated, I was wondering if I could write HTML snippets for header, footer, content etc and automatically assemble them using a Makefile or any similar tool.
I have never created Makefiles however, and I don't know whether those would be the tool of choice for this task - any input would be greatly appreciated!