{% load hq %} {% comment %} Renders whatever `brand` holds. The path data is plain path syntax with no characters autoescaping touches -- see the invariant documented in hq/icons.py -- so it goes straight into the attribute with no mark_safe anywhere. A row with no logo falls back to a generic mark rather than dropping the column out of alignment. {% endcomment %} {% if brand %} {% else %} {% hq_icon "circle-dot" %} {% endif %}