I am looking more seriously into developing a NeoCities page using static HTML, but I'd like to have some elements of it be automatically generated prior to it being pushed onto my page. Think stuff like "this page was last generated on XYZ date".
Are there any scriptable HTML preprocessors out there? What I'd really like to see is a kind of framework that lets me define custom HTML tags, like '<Header />' for example and have some kind of program replace that tag with another blob of HTML (instead of using an iframe or something similar). Or in a more complex example, I can make a tag like '<GitLastModifiedCommitDate>' which would tell me the last time that a commit was made that edited this file. Under the hood, it would probably just invoke something like 'git blame <file>' and do some complex piping with 'sed'.
I know a lot of people in this scene are using Jekyll, but I've never really been fond of Python syntax, and the hamfisting of it into HTML seems like it has the potential to make tooling rather bad. Speaking somewhat from experience with other HTML templating libraries like Svelte and React, the integration with VSCode always felt like I was smacking into rakes over and over. I would rather keep things more simple and use natural HTML tags, because at the end of the day, it's just HTML that I'd be writing.
Some other nice-to-have features would be the ability to blog via Markdown files.
My eventual, hair-brained goal here is to have this preprocessing step be run as part of a CI/CD pipeline in something like GitHub or GitLab and automatically push stuff out onto NeoCities whenever I make a commit.
I could just write all of this myself, but I really wanted to focus on content instead of tooling.