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.