_layouts/feature.html in appscms-tools-theme-1.5.0 vs _layouts/feature.html in appscms-tools-theme-1.5.1
- old
+ new
@@ -9,32 +9,32 @@
<body>
{% include header/index.html %}
{%- if site.safeui -%}
<div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center"
role="alert">
- <img {%- if site.crossorigin -%} crossorigin {%- endif -%} src="/assets/secure.svg" height="23px" width="18px"
- alt="secure">
+ <img src="/assets/secure.svg" height="23px" width="18px" alt="secure" {%- if site.crossorigin -%} crossorigin
+ {%- endif -%}>
{%- if featureData.alertmsg -%}
{{featureData.alertmsg}}
{%- else -%}
We do not upload any files to server, hence your data is 100% secure.
{%- endif -%}
- <img {%- if site.crossorigin -%} crossorigin {%- endif -%} src="/assets/noserverupload.svg" height="23px"
- width="20px" alt="no server upload">
+ <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload" {%- if site.crossorigin
+ -%} crossorigin {%- endif -%}>
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
{%- endif -%}
<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 class="div-cont feature-img mr-2">
{%- if featureData.img -%}
- <img {%- if site.crossorigin -%} crossorigin {%- endif -%}
- style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}};
- src="{{featureData.img}}" alt="{{featureData.imgalt}}">
+ <img style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}};
+ src="{{featureData.img}}" alt="{{featureData.imgalt}}" {%- if site.crossorigin -%}
+ crossorigin {%- endif -%}>
{%- else -%}
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 36 36" fill="#000">
<path
d="M6,6 L9,18 L6,30 L18,27 L30,30 L27,18 L30,6 L18,9 L6,6 Z M3,3 L18,6.75 L33,3 L29.25,18 L33,33 L18,29.25 L3,33 L6.75,18 L3,3 Z">
@@ -67,12 +67,12 @@
</div>
<div class="container mt-4">
<div class="row px-0">
{% for data in featureData.TEXTUAL_CONTENT %}
<div class="col-lg-4 col-md-6 my-4">
- <div><img {%- if site.crossorigin -%} crossorigin {%- endif -%} class="feature-card-img"
- src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px" alt={{data.header}}>
+ <div><img class="feature-card-img" src="{{data.logoUrl}}" loading="lazy" height="48px" width="48px"
+ alt={{data.header}} {%- if site.crossorigin -%} crossorigin {%- endif -%}>
<div class="feature-card-title">{{data.header | replace: "$variable", page.value}}</div>
<div class="feature-card-desc">{{data.content | replace: "$variable", page.value}}</div>
</div>
</div>
{% endfor %}
@@ -81,13 +81,13 @@
<div class="d-flex justify-content-center mt-5 mb-5" id="__cond-1011327">
<div class="flex-container pb-5">
<div class="flex-class">
<div class=" d-flex flex-wrap justify-content-center">
{%- if featureData.HOW_TO_CONTENT.logoImageUrl -%}
- <div class="how-to-img-wrapper "><img {%- if site.crossorigin -%} crossorigin {%- endif -%}
- class="how-to-leftimg" height="180px" width="300px"
+ <div class="how-to-img-wrapper "><img class="how-to-leftimg" height="180px" width="300px"
src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
- alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}">
+ alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}" {%- if site.crossorigin -%} crossorigin
+ {%- endif -%}>
</div>
{%- endif -%}
<div class="how-to-right">
<h3 class="how-to-title">{{featureData.HOW_TO_CONTENT.heading | replace: "$variable",
page.value}}</h3>
\ No newline at end of file