{% assign author = site.authors[page.author] %} {% if author %}

Written by {{ author.display_name }}

{% if page.github_repo_username %} {% endif %}
{% endif %} {% if page.comments %}
{% endif %}