{% if post.author %} {% assign author = post.author %} {% else %} {% assign author = site.author %} {% endif %} {% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %}