Add site author as default page author

This commit is contained in:
Grant David Bachman 2017-10-09 19:26:14 -04:00
parent e06bbeaa03
commit 7a5e328aaf

View file

@ -4,7 +4,12 @@ layout: default
<div class="post">
<div class="post-info">
<span>Written by&nbsp;</span>{{ page.author }}
<span>Written by&nbsp;</span>
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author.name }}
{% endif %}
{% if page.date %}
<br>