Oh wait, it's nunjucks. This could be less nested if you used `else if`!