_includes/author.html in jekyll-dash-1.4.0 vs _includes/author.html in jekyll-dash-1.5.0

- old
+ new

@@ -1,19 +1,9 @@ <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 %} - {% if avatar_image %} - <img src="{{ avatar_image }}" class="author-avatar" alt="Avatar" /> - {% endif %} -{{ site.description }} +{% if site.dash.rtl %} +<div class="description">{{ site.description }}</div> +{%- include avatar.html -%} +{% else %} +{%- include avatar.html -%} +<div class="description">{{ site.description }}</div> +{% endif %} </div>