Sha256: fc44a47077b248a6cda7a45663b83140450689ea0327ddf7884d456c1d039b2a

Contents?: true

Size: 1.77 KB

Versions: 30

Compression:

Stored size: 1.77 KB

Contents

<div class="container mt-5">
  <div class="row feature-description-boxes pt-5">
    {%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%}
    <div class="col-md-9 mx-auto">
      <div class="row">
        {%- endif -%} {% assign totalHeaderCount = 0 %} {% for data in
        pageData.TEXTUAL_CONTENT %} {% assign words = data.header | split: " "
        %} {% assign word_count = words | size %} {% assign totalHeaderCount =
        totalHeaderCount | plus: word_count %} {% endfor %} {% for data in
        pageData.TEXTUAL_CONTENT %}
        <div
          class="{%- if site.monumetricId and page.url != '/' and page.lang == 'en' -%} col-md-6 my-4 {%- else -%} col-md-4 my-4 card h-100 border-0 bg-transparent{%- endif -%}">
          {%- assign space = ' ' -%}
          <img src="{{data.logoUrl}}" loading="lazy" class="card-img-top float-left mr-3 appscms-feature-image"
            alt="{{data.header}}" {%- if site.crossorigin -%} crossorigin{{space}} {{space}} {%- endif -%}
            style="object-fit: cover; height: 5rem; width: 5rem" />
          {%- if totalHeaderCount > site.count_of_words_in_headings -%}
          <h2 class="card-title appscms-feature-title">
            {{data.header | replace: "$variable", page.value}}
          </h2>
          {%- else -%}
          <div class="card-title appscms-feature-title">
            {{data.header | replace: "$variable", page.value}}
          </div>
          {%- endif -%}
          <p class="card-text m-0 appscms-feature-description">
            {{data.content | replace: "$variable", page.value}}
          </p>
        </div>
        {% endfor %} {%- if site.monumetricId and page.url != '/' and
        page.lang == 'en' -%}
      </div>
    </div>
    {%- endif -%}
  </div>
</div>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
appscms-tools-theme-4.8.1 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.0 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.9 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.8 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.7 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.6 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.5 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.4 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.3 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.2 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.1 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.7.0 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.9 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.8 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.7 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.6 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.5 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.4 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.3 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.6.2 _includes/appscms/featurehighlight/featurehighlight.html