Sha256: a27129c0b57ad5ef21a6937a3aa8c8eab97118413b9dea8781fdd23e8312574f

Contents?: true

Size: 1.29 KB

Versions: 1

Compression:

Stored size: 1.29 KB

Contents

{% if site.authors[include.author].name %}
  {% assign author=site.authors[include.author]  %}
{% else %}
  {% assign author=site.authors["anonymous"] %}
{% endif %}

{% assign date=include.date %}

<div class="byline">
  <div class="avatar">
    <img
      {% if author.gravatar %}
        srcset="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=96&d=blank 2x"
        src="https://www.gravatar.com/avatar/{{ author.gravatar }}?s=48&d=blank"
        alt="Avatar for {{ author.name }}"
      {% else %}
        srcset="https://www.gravatar.com/avatar/{{ site.gravatar }}?s=96&d=blank 2x"
        src="https://www.gravatar.com/avatar/{{ site.gravatar }}?s=48&d=blank"
        alt="elementary Avatar"
      {% endif %}
    />
  </div>
  <div class="author">
    {% if include.link == true %}<a href="{{ site.baseurl }}/authors/#{{ include.author }}">{% endif %}
    <span class="name">{{ author.name }}</span>
    {% if include.link == true %}</a>{% endif %}
    {% if author.description and page.layout == 'post' %}
      <span class="description">{{ author.description }}</span>
    {% endif %}
  </div>
  <time class="post-date" datetime="{{ date | date:"%Y-%m-%d" }}">{{ date | date: "%a, %b %e, %Y" }}</time>
  {% if include.content %}
    {% include read-time.html content=include.content %}
  {% endif %}
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-elementary-blog-1.0.1 _includes/byline.html