4 ms·
Ask HN: For static HTML, what is your go to template?
I am looking for something "full featured" but not beyond simply html.
- tormock 5y agoHugo static site generator is pretty nice...
- triyambakam 5y agoThanks for the suggestion. I should have been clear - I want to write the HTML by hand, but not start from scratch each time.
- themodelplumber 5y agoDepends 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. Otherwise I use https://picocss.com/ 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/ https://textpattern.com/
- triyambakam 5y agoThanks 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
- themodelplumber 5y agoYes, it's kind of hand-crafted I guess. You can check out an example here: https://www.friendlyskies.net/file_download/22/Example-LibreOffice-HTML.oth.zip https://www.friendlyskies.net/file_download/22/Example-Libre... 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.
- DerSaidin 5y agohttps://www.getzola.org/ https://www.getzola.org/ https://github.com/getzola/zola https://github.com/getzola/zola
- kactus 5y agoManual Matuzovic has a good HTML boilerplate, and he goes line-by-line into what it does. https://www.matuzo.at/blog/html-boilerplate/ https://www.matuzo.at/blog/html-boilerplate/