_includes/appscms/headings/contenttool-headings.html in appscms-tools-theme-4.7.7 vs _includes/appscms/headings/contenttool-headings.html in appscms-tools-theme-4.7.8

- old
+ new

@@ -1,33 +1,33 @@ -{%- if page.layout == "appscms-audio" or page.layout == "appscms-video" -%} {%- - else -%} - <div class="container heading"> - <div class="contenttool-bg-lite"></div> - <div class="row"> - <div - class="container mt-3 grid-contentttool-h1" style="display: flex;" - > - {%- 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 -%} - <div class="heading-landing-text"> - <h1 class="text-left appscms-h1 contenttool-landing-h1"> - {%- for word in h1 -%} {%- if forloop.first == true -%} {{word | - capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%} - </h1> - <h2 class="text-left appscms-h2 contenttool-landing-h2"> - {%- for word in h2 -%} {%- if forloop.first == true -%} {{word | - capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%} - </h2> - </div> - <img id="landing-main-svg" src="/assets/images/contenttool-main.svg" alt="manvector"> - </div> - <svg id="contenttool-line-top" width="242" height="321" viewBox="0 0 242 321" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path d="M1 1C6.15486 44.3372 60.1151 138.089 235.818 138.089C487.727 138.089 618.363 226.161 679 320" stroke="#0066FF" stroke-width="2" stroke-dasharray="5 8"/> - </svg> - <svg id="contenttool-line-left-bottom" width="173" height="855" viewBox="0 0 173 855" fill="none" xmlns="http://www.w3.org/2000/svg"> - <path d="M-48.9434 1.14502C-15.7718 92.377 114.216 198.249 161.568 276.272C208.919 354.296 81.401 346.5 37.2577 552.416C1.94297 717.148 -4.2862 822.14 -2.98644 854.044" stroke="#0066FF" stroke-width="2" stroke-dasharray="5 8"/> - </svg> - </div> - </div> - {%- endif -%} +{%- if page.layout == "appscms-audio" or page.layout == "appscms-video" -%} {%- + else -%} + <div class="container heading"> + <div class="contenttool-bg-lite"></div> + <div class="row"> + <div + class="container mt-3 grid-contentttool-h1" style="display: flex;" + > + {%- 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 -%} + <div class="heading-landing-text"> + <h1 class="text-left appscms-h1 contenttool-landing-h1"> + {%- for word in h1 -%} {%- if forloop.first == true -%} {{word | + capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%} + </h1> + <h2 class="text-left appscms-h2 contenttool-landing-h2"> + {%- for word in h2 -%} {%- if forloop.first == true -%} {{word | + capitalize }} {%- else -%} {{word}} {%- endif -%} {%- endfor -%} + </h2> + </div> + <img id="landing-main-svg" src="/assets/images/contenttool-main.svg" alt="manvector"> + </div> + <svg id="contenttool-line-top" width="242" height="321" viewBox="0 0 242 321" fill="none" xmlns="http://www.w3.org/2000/svg"> + <path d="M1 1C6.15486 44.3372 60.1151 138.089 235.818 138.089C487.727 138.089 618.363 226.161 679 320" stroke="#0066FF" stroke-width="2" stroke-dasharray="5 8"/> + </svg> + <svg id="contenttool-line-left-bottom" width="173" height="855" viewBox="0 0 173 855" fill="none" xmlns="http://www.w3.org/2000/svg"> + <path d="M-48.9434 1.14502C-15.7718 92.377 114.216 198.249 161.568 276.272C208.919 354.296 81.401 346.5 37.2577 552.416C1.94297 717.148 -4.2862 822.14 -2.98644 854.044" stroke="#0066FF" stroke-width="2" stroke-dasharray="5 8"/> + </svg> + </div> + </div> + {%- endif -%}