Sha256: 16e1d85faf5e8bc996614f5ed0da7145f0fe8773ddb48ec6787962bae85a869e
Contents?: true
Size: 1.44 KB
Versions: 18
Compression:
Stored size: 1.44 KB
Contents
{% if page.author != null %} {% assign author = site.authors | find: "name", page.author | first %} {% comment %} page author is not null {% endcomment %} {% else %} {% assign author = site.authors | find: "name", site.author | first %} {% comment %} page author is null revert to {{ site.author }} {% endcomment %} {% endif %} {%- comment -%} <div class="is-rounded rounded-image-has-inner-shadow"></div> {%- endcomment -%} {% if include.sidebar == true %} <figure class="image is-4by3 has-border-black mb-1"> <img class="" src="/assets/img/{{ author.name | slugify: 'pretty' }}.jpg?nf_resize=fit&w=250" alt="{{ author.name }}"> </figure> {% endif %} <div class="media"> {% unless include.sidebar == true %} <figure class="media-left"> <p class="image is-64x64"> <img src="/assets/img/{{ author.name | slugify: 'pretty' }}-square.jpg?nf_resize=fit&w=64&h=64" alt="{{ author.name }}" class="is-rounded"> </p> </figure> {% endunless %} <div class="media-content"> <div class="content"> <p class="title is-5"> <strong>{{ author.name }}</strong><br><small class="is-size-7">{{ author.position }}</small> </p> {% unless include.show_summary == false %} <p class="is-size-6">{{ author.summary }}</p> {% endunless %} </div> <nav class="level is-mobile"> <div class="level-left"> {% include themes/jmblog-theme/components/social_buttons_small.html %} </div> </nav> </div> </div>
Version data entries
18 entries across 18 versions & 1 rubygems