I'm looking for a way to do template inheritance to a group of .html files I have.
Let's say I have a base.html file which has the common HTML for all pages of my website, i.e. header, footer, etc. . Each page, including the main (index) page, needs to inherit from this template HTML file.
Now, this is doable on the server-side using Django's Jinja template langauge. But this is not a good solution for me. My HTML pages are stored remotely and I have no control over the server storing them. This must be done client-side, with or without JavaScript.
Somebody asked about this before, and the only half-baked solution I found was to use Mustache's partials, which doesn't really do the job.
Does anybody know of a way to do this on the client-side?