Sha256: 96f2f70d8da552b0a7c7f66ce3af77de9d801c05217cec25984b207e47df59a4

Contents?: true

Size: 900 Bytes

Versions: 2

Compression:

Stored size: 900 Bytes

Contents

<div class="container heading">
  <div class="row">
    <div
      class="col-xxl-8 col-lg-9 col-md-12 col-sm-12 offset-md-1 offset-sm-0 py-5 pt-md-5 pt-sm-3 mx-auto"
    >
      {%- if pageData.H1 -%} {%- assign h1 = pageData.H1 -%} {%- elsif
      pageData.h1 -%} {%- assign h1 = pageData.h1 -%} {%- endif -%} {%- if
      pageData.H2 -%} {%- assign h2 = pageData.H2 -%} {%- elsif pageData.h2 -%}
      {%- assign h2 = pageData.h2 -%} {%- endif -%}

      <h1 class="text-center appscms-h1">
        {%- for word in h1 -%} {%- if forloop.first == true -%} {{word |
        capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
      </h1>
      <h2 class="text-center appscms-h2">
        {%- for word in h2 -%} {%- if forloop.first == true -%} {{word |
        capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%}
      </h2>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
appscms-tools-theme-3.8.5 _includes/appscms/headings/headings.html
appscms-tools-theme-3.8.4 _includes/appscms/headings/headings.html