I am creating a new version of a city guide portal, there are several pages and currently the staff uses the .shtml include:
include virtual="../header.htm"
include virtual="../footer.htm"
Is there any other way to pull the header and footer on all pages without using .shtml include and PHP include? Since all pages need to be in .html, the site has to be static, I can not use wordpress or any cms ... I've already tried the jquery include:
$(function(){
$("#header").load("header.html");
$("#footer").load("footer.html");
});
But the final code does not appear the whole page in the source code, if I give a CTRL + U to see the source code, the header will be as div id="header"
and /div
, without appearing its content in the source code, this can cause some problem for SEO, right?
How do you include the header and footer on all the sites pages you develop?
Oh, and here in the company use windows ...