<a class="pcolor"> {% if vars is not empty %} <div class="profile-color" style="border-color: {{ vars.color }}"></div> {% endif %} </a>