- {% for id, location in city.locations %}
- <article class="cell">
- <h4>{% if city.multimap is defined and city.multimap %}{{ id }} {% endif %}<a href="{{ location.link }}">{{ location.title }}</a></h4>
- </article>
- {% endfor %}
+ <ul class="grid{% if city.locations|length > 1 %} two{% endif %}">
+ {% for id, location in city.locations %}
+ <li>{% if city.multimap is defined and city.multimap %}{{ id }} {% endif %}<a href="{{ location.link }}">{{ location.title }}</a></li>
+ {% endfor %}
+ </ul>