}
    {% elsif author_name == site.social.name %}
      {% assign author_link = site.social.links[0] %}
    {% endif %}

    {{ site.data.locales[lang].post.written_by }}
    <em>
      {% if author_link %}
        <a href="{{ author_link }}">{{ author_name }}</a>
      {% else %}
        {{ author_name }}
      {% endif %}
    </em>
  </div>

  <div class="d-flex">
    <div>
      <!-- published date -->
      <span>
        {{ site.data.locales[lang].post.posted }}
        {% include timeago.html date=pag