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