{% spaceless %}{% with fallback_icon_url=icon_light_url|default:icon_dark_url %} {% comment %} Only include source elements if the light and dark icons are different {% endcomment %} {% if icon_light_url != icon_dark_url %} {% if icon_light_url %} {% endif %} {% if icon_dark_url %} {% endif %} {% endif %} {% endwith %}{% endspaceless %}