{% if site.teams %}
<div class="author"> {% if post.author %} {% for author in site.data.team.author %} {% if post.author == author.name %} {% if author.image %} <img src="{{ author.image | relative_url }}" alt="{{ author.name }}"> {% else %} <span class="authorImagePlaceholder"> {{ author.name | slice: 0 }} </span> {% endif %} <p class="authorName">{{ author.name }}, {{ author.job }}</p> {% endif %} {% endfor %} {% endif %} </div>
{% endif %}