4 ms·
Why not use server side includes? Most web servers support it, and it dates back to one of the early features of webservers. <!--# set var="pagetitle" valu
by adamzochowski 2y ago
Why not use server side includes? Most web servers support it, and it dates back to one of the early features of webservers.
<!--# set var="pagetitle" value="Main page" -->
<!--# include file="00__header.html" -->
... main content here
<!--# include file="00__footer.html" -->
- liontwist 2y agoBecause that requires a server with the proper config and this is an HTML file. So it works in every environment, like locally on your machine, or GitHub pages.