I'm actually just suggesting *literally* pushing this entire function onto TemplateExpander, without adding more templates. It feels like a templatey thing, without needing a text/template to parse.