QUALITY: Used shorthand conditional syntax in Jinja2 template.