diff --git a/_layouts/post.html b/_layouts/post.html index 4dd9efc..f7818bf 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -61,7 +61,11 @@ tail_includes: {% if authors %} {% for author in authors %} - {{ site.data.authors[author].name }} + {% if site.data.authors[author].url -%} + {{ site.data.authors[author].name }} + {%- else -%} + {{ site.data.authors[author].name }} + {%- endif %} {% unless forloop.last %}{{ ', ' }}{% endunless %} {% endfor %} {% else %}