- Written by {{ page.author }}
+ Written by
+ {% if page.author %}
+ {{ page.author }}
+ {% else %}
+ {{ site.author.name }}
+ {% endif %}
{% if page.date %}
diff --git a/_layouts/post.html b/_layouts/post.html index b46efa7..786d0db 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -4,7 +4,12 @@ layout: default