Updated author-profile.html in the event that there is no authors.yml file.

This commit is contained in:
Matthew Aguirre 2016-06-23 20:59:02 -04:00
parent 356121e355
commit 301e325ec9

View file

@ -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 %}