We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1e54d5 commit e3fbdbdCopy full SHA for e3fbdbd
ucdlib-directory/views/macros/person.twig
@@ -48,14 +48,12 @@
48
{% macro library_locations(person) %}
49
{% if person.libraries %}
50
<span class="icon icon--location">
51
- {% apply spaceless %}
52
{% for library in person.libraries %}
53
<span>{{library.name}}</span>
54
- {% if not loop.last and loop.length > 1 %}
+ {%- if not loop.last and loop.length > 1 -%}
55
<span>, </span>
56
- {% endif %}
+ {%- endif -%}
57
{% endfor %}
58
- {% endapply %}
59
</span>
60
{% endif %}
61
{% endmacro %}
0 commit comments