Sha256: 9e80226d4d070260dcc302bebdc4b03cf16ab6100a81a681ec98895e6019a6c3

Contents?: true

Size: 1.38 KB

Versions: 2

Compression:

Stored size: 1.38 KB

Contents

{% if include.object.members_content.members_content.source %}
    {% assign members = site.data[include.object.members_content.source] %}
{% else %}
    {% assign members = include.object.members_content.items %}
{% endif %}
<div class="members_section {% if include.object.style %}{{include.object.style}}{% endif %}">
{% for member in members %}
    {% if member.url %}<a href="{{member.url}}">{% endif %}
    {% if member.image.path contains "http" %}
    <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
        <img class="lazyload img-responsive" alt="{{member.image.alt}}"
        src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
        data-src="{{member.image.path}}"/>
    </div>
    {% else %}
    {% assign image_path = member.image.path | remove_first: '/' %}
    {% assign full_path = member.image.path %}
    <div class="col-xs-6 col-sm-{{include.object.members_content.item_width}}">
        {% responsive_image_block %}
        template: _includes/thumbnail_image.html
        path: {{ image_path }}
        fullpath: {{ full_path }}
        {% if member.alt %}
        title: {{ member.alt | slugify: "ascii"}}
        alt: {{ member.alt | slugify: "ascii"}}
        {% endif %}
        {% endresponsive_image_block %}
    </div>
    {% endif %}
    {% if member.url %}</a>{% endif %}
{% endfor %}
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jumbo-jekyll-theme-5.6.9.4 _includes/core/members-section.html
jumbo-jekyll-theme-5.6.9.3 _includes/core/members-section.html