Same goes for this: anything more complicated than a simple `if` or `for` shouldn't be in the template.