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

This commit is contained in:
Matthew Aguirre authored and Michael Rose committed 2016-06-24 15:45:46 -04:00
1 parent fdf2e7f7a8
commit 677fded9e4
1 file changed
+1 -1
+1 -1
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 %}