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.42 _includes/left-right-blocks.html
intia-theme-0.1.41 _includes/left-right-blocks.html
intia-theme-0.1.40 _includes/left-right-blocks.html
intia-theme-0.1.39 _includes/left-right-blocks.html
intia-theme-0.1.38 _includes/left-right-blocks.html
intia-theme-0.1.37 _includes/left-right-blocks.html
intia-theme-0.1.36 _includes/left-right-blocks.html
intia-theme-0.1.35 _includes/left-right-blocks.html
intia-theme-0.1.34 _includes/left-right-blocks.html
intia-theme-0.1.33 _includes/left-right-blocks.html
intia-theme-0.1.32 _includes/left-right-blocks.html
intia-theme-0.1.31 _includes/left-right-blocks.html
intia-theme-0.1.30 _includes/left-right-blocks.html
intia-theme-0.1.29 _includes/left-right-blocks.html
intia-theme-0.1.27 _includes/left-right-blocks.html
intia-theme-0.1.26 _includes/left-right-blocks.html
intia-theme-0.1.25 _includes/left-right-blocks.html
intia-theme-0.1.24 _includes/left-right-blocks.html
intia-theme-0.1.23 _includes/left-right-blocks.html
intia-theme-0.1.22 _includes/left-right-blocks.html