News for hackers. Stuff that matters.
Re:Overview of new features in Apache HTTP Server 2.6 by miki_tyler on Saturday November 20, 2021 @11:47PM (#29294257)
If only standard HTML would support templating we could get rid of 80% of the tooling, maybe 100%. In fact, if I had to choose between two super simple tech stacks for static sites:

1) HTML + CSS + JS

2) HTML + CSS + Templating system

I would pick 2) for sure.

This is basically why we are building kit55 (https://stack55.com).

Re:Overview of new features in Apache HTTP Server 2.6 by vbezhenar on Sunday November 21, 2021 @03:18AM (#29294929)
HTML supports some mechanisms to implement templates: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/te...
Re:Overview of new features in Apache HTTP Server 2.6 by miki_tyler on Monday November 22, 2021 @08:35AM (#29306143)
There is indeed a <template> tag in HTML but it only works inside the current loaded page, i.e. to render rows inside a table. You cannot use it to include a header or a banner. In addition, the the tag relies on JS to be rendered.