Depends on the need...I have a quick LibreOffice HTML template in light or dark. I include metas for mobile use in the document properties. I also have a PHP controller that can easily modify these if I need it to be more dynamic.
For publishing I either drop the HTML file in a folder with or without a controller, or start a new endpoint by creating a new section in TXP [1] and drop in whatever HTML and txp xml tags I need there.
Thanks for the suggestions! Did you hand craft the LibreOffice template? I hadn't considered that, that's quite interesting. I don't have a need for something like TXP yet, but it's quite appealing for what it offers. Thanks again
It's a zipped OTH file, which is the LibreOffice HTML template format. IIRC it also makes use of styles, instead of resizing fonts and changing colors willy-nilly ;-)
It's worth a visit to the various tabs in File > Properties so you can properly attend to various behind-the-scenes stuff in the HTML export.
Otherwise I use https://picocss.com/ for some things.
For publishing I either drop the HTML file in a folder with or without a controller, or start a new endpoint by creating a new section in TXP [1] and drop in whatever HTML and txp xml tags I need there.
1. https://textpattern.com/