-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
I recently built my own static site generator for a personal website which you can find here: https://github.com/plungepool/wiki-dot-plungepool-dot-dev
You can do it with only JS during build time with something like Handlebars. It's also super readable and just feels like plain HTML.
As others have mentioned, a static site generator would be one solution. Hugo is quite simple to install but it can take a while to customise templates.
Well, this is still technically JS (it's a small library you link in your page), but it's properties you add to existing html, so yo don't need to write any JS at all (for your requirements). https://htmx.org/