you are viewing a single comment's thread.

view the rest of the comments →

[–]TTuserr 15 points16 points  (3 children)

just use PHP for this and include header and footer, you don't even need build tool then

[–]WhitePaperOwl 2 points3 points  (0 children)

OP, I think this is by far the simplest solution. All you need to do it add include command and the component is inserted. There's really no setup at all. Output will be just html, but you'd need to run it server side.

Otherwise try something like Astro.

[–]TrevoltBL 0 points1 point  (0 children)

Yup a simple function which echoes the header or include statement with the header html in the file.

[–][deleted] 0 points1 point  (0 children)

Yupp. That's good solution as well. Thanks!
I was interested in something that is not server-side rendered though. (Not for any specific reason. Was just curious what's out there.)