Reputation: 14309
I have been working creating a new project static web site and was wondering what's the correct way to reuse the header, footer etc into a HTML base that can be "imported" and reused in all pages. Currently I replicate all the code and this is not really a good thing. Using JQuery and dynamic divs for this simple use-case is an overkill I believe.
The website I have been working on is this: http://hpsfo.bitbucket.org
Upvotes: 1
Views: 77
Reputation: 4218
You can try server side include (SSI). http://httpd.apache.org/docs/current/howto/ssi.html
Upvotes: 2