{% spaceless %} {% if href %}{% endif %} {% if src %} {{ label }} {% else %} {% firstof icon.0|add:icon.1 as prefix %} {% if prefix == 'fa' %} {% else %} {% firstof label icon %} {% endif %} {% endif %} {% if href %}{% endif %} {% endspaceless %}