Sha256: ac743b84665f4f72a049e33b8b8516b6cb4d74d485ed85bd586e297cbed23277

Contents?: true

Size: 1.9 KB

Versions: 9

Compression:

Stored size: 1.9 KB

Contents

{% assign file = page.fileName %}
{% assign lang = page.lang %}
{% assign dataToShow = site.data.[page.folderName][lang][file] %}
<div class="container-fluid">
    <div class="row">
        <div class="ads_layout feature">
            <p class="title mb-0">Features</p>
            {%- if dataToShow.feature_description -%}
            <p class="description">{{dataToShow.feature_description}}</p>
            {%- endif -%}
        </div>
        <div class="container">
            <div class="row text-center features_data">
                {% assign totalHeaderCount = 0 %}
                {% for data in dataToShow.featureList %}
                {% assign words = data.feature_heading | split: " " %}
                {% assign word_count = words | size %}
                {% assign totalHeaderCount = totalHeaderCount | plus: word_count %}
                {% endfor %}


                {% for entry in dataToShow.featureList %}
                <div class="col-lg-4 col-md-6 my-3">
                    <div class="card-body h-100">
                        <img src="{{ entry.fa_class }}" loading="lazy" height="25px" width="25px"
                            alt="{{entry.feature_heading}}"></img>
                        <div class="card-title">
                            {%- if dataToShow.h2 -%}
                            {%- if totalHeaderCount > site.count_of_words_in_headings -%}
                            {{dataToShow.h2}}
                            {%- endif -%}
                            {%- else -%}
                            {{ entry.feature_heading }}
                            {%- endif -%}
                        </div>
                        <div class="card-text" style="color: gray;
                        font-size: 14px;">{{ entry.feature_text}}</div>
                    </div>
                </div>
                {% endfor %}
            </div>
        </div>
    </div>
</div>

{%- include howto.html -%}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
word-games-theme-1.9.5 _includes/section/feature.html
word-games-theme-1.9.4 _includes/section/feature.html
word-games-theme-1.9.3 _includes/section/feature.html
word-games-theme-1.9.2 _includes/section/feature.html
word-games-theme-1.9.1 _includes/section/feature.html
word-games-theme-1.9.0 _includes/section/feature.html
word-games-theme-1.8.9 _includes/section/feature.html
word-games-theme-1.8.8 _includes/section/feature.html
word-games-theme-1.8.7 _includes/section/feature.html