Sha256: 5a682876e9c93a51721c01d875fb2d17fbebcc7a250ab216941824e2de28efe2

Contents?: true

Size: 865 Bytes

Versions: 1

Compression:

Stored size: 865 Bytes

Contents

{% assign writer = site.data.authors[page.author] %}
<section class="author-card">
  {% assign writer_image = writer.image | slice: 0, 5 %}
  {% if writer_image == "https" %}
    <img class="author-profile-image" src="{{writer.image}}" alt="{{writer.name}}"/> 
    {% else %}
    <span class="avatar-wrapper">
      {% include icons/avatar.svg %}
    </span>
  {% endif %}
  <section class="author-card-content">
    <h4 class="author-card-name">
      <a href="/author/{{writer.user_name}}">{{writer.name}}</a>
    </h4>
    {% if writer.bio %}
      <p>{{writer.bio}}</p>
    {% else %}
      <p>Read <a href="/author/{{writer.user_name}}">more posts</a> by this author.</p>
    {% endif %}
  </section>
</section>
<div class="post-full-footer-right">
  <a class="author-card-button" href="/author/{{writer.user_name}}">Read More</a>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jasper-theme-0.0.1 _includes/single-author.html