{# the city-card changes the color using css #} {% macro city_block(list) %} {% if list %} {% for item in list %} {% if item.get('visible') %}