Replace this with a simple template that just does `{var}` replacements. This is really hard to read.