{% if 'href1' in widget.attrs %}
{% endif %} {% if 'href2' in widget.attrs %}
{% endif %}