Should this be an else if? (Can Jinja do those?)