Reputation: 11
I have a header on my website that I would like to put into one file, like CSS files, so I only have to edit one file to add or remove content rather than 8.
Upvotes: 0
Views: 42
Reputation: 5788
In addition to the traditional server-side solutions mentioned by Brad, you can also try shtml (server side includes). See the Wikipedia article. It's supported by Apache, nginx, lighttpd, and more.
Upvotes: 0
Reputation: 163622
You're going to need some server-side technology to build HTML files with common files included. PHP, Ruby on Rails, Node.js with Express, etc.
Upvotes: 1