I missed the part where they show how to do something similar to ejs or PHP HTML includes for things like header.html and footer.html.
#include "header.htm"
<h1>Title</h1>
...
#include "footer.htm"
I'm still using it, and I wonder when I'll be able to get rid of PHP.