Sha256: 60470edb4608da6230627a08506813252fbef1e9f1456e2a5a1cf718e212b02d

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 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}}">
        {% assign image_path = member.image.path | replace: '/assets/images/','' %}
        {% if member.image.svg %}
        <img class="img-fluid svg_image {% if include.object.image.style %}{{include.object.image.style}}{% endif %}"
            alt="{{include.object.image.alt}}" src="{{image_path}}" />
        {% else %}
            {% picture feature_block_image {{image_path}} alt=include.object.image.alt %}
        {% endif %}
    </div>
    {% endif %}
    {% if member.url %}</a>{% endif %}
{% endfor %}
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
seriously_simple_static_starter-0.7.0 _includes/core/members-section.html
seriously_simple_static_starter-0.6.7 _includes/core/members-section.html
seriously_simple_static_starter-0.6.6 _includes/core/members-section.html
seriously_simple_static_starter-0.6.5 _includes/core/members-section.html
seriously_simple_static_starter-0.6.4 _includes/core/members-section.html
seriously_simple_static_starter-0.6.3 _includes/core/members-section.html
seriously_simple_static_starter-0.6.2 _includes/core/members-section.html