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.62 _includes/left-right-blocks.html
intia-theme-0.1.61 _includes/left-right-blocks.html
intia-theme-0.1.60 _includes/left-right-blocks.html
intia-theme-0.1.59 _includes/left-right-blocks.html
intia-theme-0.1.58 _includes/left-right-blocks.html
intia-theme-0.1.57 _includes/left-right-blocks.html
intia-theme-0.1.56 _includes/left-right-blocks.html
intia-theme-0.1.55 _includes/left-right-blocks.html
intia-theme-0.1.54 _includes/left-right-blocks.html
intia-theme-0.1.53 _includes/left-right-blocks.html
intia-theme-0.1.52 _includes/left-right-blocks.html
intia-theme-0.1.51 _includes/left-right-blocks.html
intia-theme-0.1.50 _includes/left-right-blocks.html
intia-theme-0.1.49 _includes/left-right-blocks.html
intia-theme-0.1.48 _includes/left-right-blocks.html
intia-theme-0.1.47 _includes/left-right-blocks.html
intia-theme-0.1.46 _includes/left-right-blocks.html
intia-theme-0.1.45 _includes/left-right-blocks.html
intia-theme-0.1.44 _includes/left-right-blocks.html
intia-theme-0.1.43 _includes/left-right-blocks.html