<div class="authors">
{% if page.pageAuthors|length > 0 %}
{% for author in page.pageAuthors %}
<div class="author">
{% if author.userImage|default %}
<img alt="{{ author.name }}" alt="{{ author.name|default(null)|e }}" src="{{ author.userImage|imagine_filter('user')|urldecode }}" class="author__photo" loading="lazy" />
{% else %}
<div class="author__photo author__photo--placeholder"></div>
{% endif %}
<div>
<span class="author__name">{{ author.name|default(null) }}</span>
<span class="author__function">{{ author.authorFunction|default(null) }}</span>
</div>
</div>
{% endfor %}
{% endif %}
</div>