Skip to content

Commit

Permalink
Updated author-profile.html in the event that there is no authors.yml…
Browse files Browse the repository at this point in the history
… file.
  • Loading branch information
ZenHarbinger committed Jun 24, 2016
1 parent 356121e commit 301e325
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/author-profile.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% include base_path %}

{% if page.author %}
{% if page.author and site.data.authors[page.author] %}
{% assign author = site.data.authors[page.author] %}{% else %}{% assign author = site.author %}
{% endif %}

Expand Down

0 comments on commit 301e325

Please sign in to comment.