--- layout: default current: author title: Author Page cover: false class: 'author-template' navigation: True label: Author logo: 'assets/images/ghost.png' --- {% for author in site.data.authors %} {% if author[1].username == page.author %} {% include site-nav.html %} {% if author[1].picture %} {% endif %} {{ author[1].name }} {% if author[1].bio %} {{ author[1].bio }} {% endif %} {% if author[1].location %} {{ author[1].location }} • {% endif %} {% if paginator.total_posts == 0 %}No posts{% elsif paginator.total_posts == 1 %}1 post{% else %}{{ paginator.total_posts }} posts{% endif %} • {% if author[1].url %} {% include website.html %} {% endif %} {% if author[1].twitter %} {% include twitter.html %} {% endif %} {% if author[1].facebook %} {% include facebook.html %} {% endif %} {% include rss.html %} {% endif %} {% endfor %} {% include post-card.html %}