A funky option for doing client-side includes and basic templating without JS is XSL.
Here's an small demo I threw together https://github.com/evidlo/xsl-website
A lot of people hate on XSL, but it has some interesting abilities!
Here's an small demo I threw together https://github.com/evidlo/xsl-website
A lot of people hate on XSL, but it has some interesting abilities!
I notice, for example, that this doesn't include a <!DOCTYPE html> at the top, but it still functions because browsers accommodate incorrectly formatted HTML.
> I notice, for example, that this doesn't include a <!DOCTYPE html> at the top, but it still functions because browsers accommodate incorrectly formatted HTML.
I was just being lazy. I've added it now.