Sha256: 1cb03372fbd6ff2d8abcb9a425036e34dc5af619e189163e3002c40fe8cacec9

Contents?: true

Size: 1.81 KB

Versions: 20

Compression:

Stored size: 1.81 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="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>
    {%- endif -%}
  </div>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
appscms-tools-theme-5.0.1 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-5.0.0 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.9 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.8 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.7 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.6 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.5 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.4 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.3 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.2 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.1 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.9.0 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.9 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.8 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.7 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.6 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.5 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.4 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.3 _includes/appscms/featurehighlight/featurehighlight.html
appscms-tools-theme-4.8.2 _includes/appscms/featurehighlight/featurehighlight.html