Sha256: 8073f390107168fa70cd6b65146b8d28d06d80fb00b0c808e06d16d2e6c674e7

Contents?: true

Size: 1.69 KB

Versions: 54

Compression:

Stored size: 1.69 KB

Contents

{% assign layout=site.data.[include.data] %}
{% for section in layout.sections %}
{% capture isEven %}{% cycle 'false', 'true' %}{% endcapture %}

<div class="card columns">
{% if isEven == 'false' %}
<div class="card-image left">
    <figure class="image">
        <img src={{section.image}} alt="placeholder" class="left">
    </figure>
</div>
<div class="card-content">
    <h2 class="fas {{ section.icon }} fa-2x">{{ section.title | markdownify  }}</h2>
            {{ section.text | markdownify  }}
                
<a href="{{ section.link | relative_url }}" class="button is-rounded has-text-centert is-dark {% if item.link == page.url %}is-active{% endif %}">
    <span>{{ section.link_text }}</span>
    <span class="icon is-small">
    <i class="fas fa-chevron-right fa-xs"></i>
    </span>
</a>                    
</div>
{% else %}
<div class="card-content ">
    <div class="card-image right is-hidden-tablet">
        <figure class="image">
            <img src={{section.image}} alt="placeholder" class="left">
        </figure>
    </div>
    <h2 class="fas {{ section.icon }} fa-2x">{{ section.title | markdownify  }}</h2>
        {{ section.text | markdownify  }}
<a href="{{ section.link | relative_url }}" class="button is-rounded is-dark {% if item.link == page.url %}is-active{% endif %}">
    <span>{{ section.link_text }}</span>
    <span class="icon is-small">
    <i class="fas fa-chevron-right fa-xs"></i>
    </span>
</a>                    
</div>
<div class="card-image right is-hidden-mobile">
    <figure class="image">
        <img src={{section.image}} alt="placeholder" class="right">
    </figure>
</div>
{% endif %}                                
</div>
<div class="clear"></div>
{% endfor %}

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
intia-theme-0.1.21 _includes/left-right-blocks.html
intia-theme-0.1.20 _includes/left-right-blocks.html
intia-theme-0.1.19 _includes/left-right-blocks.html
intia-theme-0.1.18 _includes/left-right-blocks.html
intia-theme-0.1.17 _includes/left-right-blocks.html
intia-theme-0.1.16 _includes/left-right-blocks.html
intia-theme-0.1.15 _includes/left-right-blocks.html
intia-theme-0.1.14 _includes/left-right-blocks.html
intia-theme-0.1.13 _includes/left-right-blocks.html
intia-theme-0.1.12 _includes/left-right-blocks.html
intia-theme-0.1.11 _includes/left-right-blocks.html
intia-theme-0.1.10 _includes/left-right-blocks.html
intia-theme-0.1.9 _includes/left-right-blocks.html
intia-theme-0.1.8 _includes/left-right-blocks.html