_includes/author.html in jekyll-dash-2.0.0 vs _includes/author.html in jekyll-dash-2.1.0
- old
+ new
@@ -1,9 +1,13 @@
<div class="author-box">
{% if site.avatar_source == "github" and site.github_username %}
{% capture avatar_image %}
https://github.com/{{ site.github_username }}.png
{% endcapture %}
+ {% elsif site.avatar_source == "local" and site.avatar_path %}
+ {% capture avatar_image %}
+ {{site.avatar_path}}
+ {% endcapture %}
{% elsif site.plugins contains "liquid-md5" %}
{% capture avatar_image %}
https://gravatar.com/avatar/{{ site.email | downcase | md5 }}?s=256
{% endcapture %}
{% endif %}