Skip to content

Commit

Permalink
Add social sharing code
Browse files Browse the repository at this point in the history
  • Loading branch information
LeNPaul committed May 13, 2017
1 parent 9233db3 commit 8bc043a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion _layouts/post.html
Expand Up @@ -22,7 +22,12 @@ <h1>
{% when '3' or '23' %}{{ d }}rd
{% else %}{{ d }}th{% endcase %},
{{ page.date | date: "%Y" }}
by {{ page.author }}
by
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.data.settings.author.name }}
{% endif %}
</span>
{% include social-sharing.html %}
{% include related-posts.html %}
Expand Down

0 comments on commit 8bc043a

Please sign in to comment.