3 ms·
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-websi
by Evidlo 2y ago
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 https://github.com/evidlo/xsl-website
A lot of people hate on XSL, but it has some interesting abilities!
- tkclough 2y agoThis is really neat, I didn't know the browser would serve a page that had been generated by XSL. Is this just a hack, or is it an intended feature? 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.
- Evidlo 2y agoIt's a feature! People used to build websites on this technology. > 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.