{% assign author = site[page.author] %} {% if author %} By {{ author.name }} {% else %} By Post Author {% endif %}