How would one setup the build command to run a custom Static Site Generator?

Forgive me if I mix up terminology, and please do correct me if so. I've been wanting to go from handwritten HTML to a static site generator for a while, but all of the ones I can find abstract too much from the HTML and CSS to me. I've decided I want to make my own, but I'm not sure what it'd take to set it up so I can have it be used by cloudflare pages. I'm thinking of either using Java or Python for this project, because of prior experience with both; much as I'd love to use Java, though, the most recent version of the build system doesn't support it so the hassle probs isn't worth it. What hoops will I need to go through to set this up, for both Java and Python? edit for clarification: python seems more straightforward, main thing I really want answers for is what'd it'd take to use Java.
2 Replies
Erisa
Erisa4w ago
I've been wanting to go from handwritten HTML to a static site generator for a while, but all of the ones I can find abstract too much from the HTML and CSS to me
astro is a great middle-ground here btw, if you use it without any additional framework you get the joys of a generator but also can write the html/css for the components yourself is what i do for my website: https://github.com/Erisa/erisa.uk/tree/main/src
Munsterlandr
MunsterlandrOP3w ago
main reason why is to add a blog, and to do some sort of template system. Honestly if making my own doesn't work out i might use 11ty
Want results from more Discord servers?
Add your server