Very early days, but I’ve started writing code to generate a Dhall library that is essentially an EDSL for HTML templates.
If this interests you, the repo is https://git.sr.ht/~singpolyma/dhall-html (very early, no readme yet… send PRs, patches, and discussion to dev@singpolyma.net list or hit me up here).
If you want to play with what it could look like, here’s what it generates so far: https://gateway.pinata.cloud/ipfs/QmYLgSPLs2eeHCvf7isfwXsK1M23yTfq1cmzuAv2LysgZG