Damus
Tom Forsyth · 7w
What's your favourite static web page builder? Something that takes some form of markup language and splits out some HTML. Nothing fancy, I just really really need to get my (read-only) web page/blog ...
Leonardo Giovanni Scur profile picture
@nprofile1q... I'm not going to stand here and say it's a good solution, because clearly we have abandoned this workflow before modern web devtools.

But I use XML as the source of my webpage, and it uses an attached XSLT stylesheet to generate the HTML representation.

It runs directly in the browser, so no build step needed. And it's a web standard, so no JS required to do this either.

And while XML might set off alarms on some people's brains, XSLT as a template library on top of it is surprisingly good. The query language is sufficiently powerful, rather than being a strict "drill down a tree-of-objects" you can pull info form anywhere in the source document. So you can genuinely organize your source document to be semantically interesting or easy to edit, without worrying about how to feed it to the template engine.
1
slembcke · 6w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqtnle3e0exnqv9gj0w0r74chmqvrx8lnfd0jlcw9698dax7ck24ts2660qv nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqykddq7nmfd8cd0hupl8fnsmmuhtg55zusm6de4fjecmrhsx4x97qx8hm63 XML!? Ah noes! :p Seriously though, to each their own in finding someth...