Sha256: 83a9d154ebe16322e96ce8df442b31f6841a14fcba56dfcc800c26001bf3fe86

Contents?: true

Size: 596 Bytes

Versions: 2

Compression:

Stored size: 596 Bytes

Contents

{% if site.dash.avatar_source == "github" and site.dash.github_username %}
{% capture avatar_image %}
    https://github.com/{{ site.github_username }}.png
{% endcapture %}
{% elsif site.dash.avatar_source == "local" and site.dash.avatar_path %}
{% capture avatar_image %}
    {{site.dash.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 %}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-dash-2.3.0 _includes/avatar.html
jekyll-dash-1.5.0 _includes/avatar.html