Had a similar idea
I too had similar ideas to what you have created. I also made a boilerplate for creating new “reusable HTML components” using EJS for front-end developers.
Check this repo out: https://github.com/Himujjal/web-dev-simple-boilerplate
I am basically using EJS files to make multi-page applications.
Anyways nice work you have done there. I tried it out. Cool stuff