_layouts/feature.html in appscms-tools-theme-2.4.5 vs _layouts/feature.html in appscms-tools-theme-2.4.6
- old
+ new
@@ -28,11 +28,12 @@
</div>
{%- endif -%}
{%- if page.layout != "frame" and page.layout != "photo-effects-home" -%}
<div class="flex-container pb-3">
<div class="flex-class py-4 mt-4 mt-md-0 ">
- <div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
+ <div id="h1-img-wrapper" class="d-flex justify-content-center align-items-center"><span id="h1-img"
+ class="fHhdVc">
<div class="div-cont feature-img mr-2">
{%- if featureData.img -%}
<img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}};
src="{{featureData.img}}" alt="{{featureData.imgalt}}" {%- if site.crossorigin -%}
crossorigin {%- endif -%}>
@@ -45,20 +46,20 @@
</svg>
{%- endif -%}
</div>
</span>
{%- assign featureh1 = featureData.H1 | replace: "$variable", page.value -%}
- <h1 class="feature-h1">{%- for word in featureh1-%}
+ <h1 id="feature-h1" class="feature-h1">{%- for word in featureh1-%}
{%- if forloop.first == true -%}
{{word | capitalize }}
{%- else -%}
{{word}}
{%- endif -%}
{%- endfor -%}</h1>
</div>
{%- assign featureh2 = featureData.H2 | replace: "$variable", page.value -%}
- <h2 class="feature-h2">
+ <h2 id="feature-h2" class="feature-h2">
{%- for word in featureh2 -%}
{%- if forloop.first == true -%}
{{word | capitalize }}
{%- else -%}
{{word}}
@@ -252,8 +253,9 @@
{%- include customblog/recentposts.html -%}
{% endif %}
{%- endif -%}
{% include footer/index.html %}
{% include script.html %}
+ <script defer src="/app.js"></script>
</body>
</html>
\ No newline at end of file