@mattly you know, a few decades ago I did some webdev in the much-maligned Zope where the templating language (ZPT/TAL) is a bunch of namespaced elements/attributes jammed into (X)HTML and ever since I have been convinced that it is obviously true and correct that any templating system you use needs to be language aware.
And then I watch people write Helm charts and I despair because shoving together YAML and Go text/template is the worst possible combination I have ever seen.