--- layout: index --- {% assign the_author = site.data.authors | where: 'id', page.author %} {% for author in the_author %}
{% if author.avatar %} {{ author.id }} avatar {% else %} avatar {% endif %}

{% if author.name %} {{ author.name }} {% else %} {{ author.id }} {% endif %}

{% if author.bio%}

{{ author.bio }}

{% endif %} {% if author.facebook or author.twitter or author.instagram or author.email %} {% endif %}
{% endfor %} {% for post in site.posts %} {% if post.author contains page.author %} {% include article_index.html %} {% endif %} {% endfor %}