_layouts/feature.html in appscms-tools-theme-1.2.8 vs _layouts/feature.html in appscms-tools-theme-1.2.9

- old
+ new

@@ -7,22 +7,23 @@ {% include head/index.html %} <body> {% include header/index.html %} {%- if site.safeui -%} - <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center" role="alert"> + <div class="alert alert-{{featureData.variant | default: 'warning'}} alert-dismissible fade show text-center" + role="alert"> <img src="/assets/secure.svg" height="23px" width="18px" alt="secure"> &nbsp; {%- if featureData.alertmsg -%} - {{featureData.alertmsg}} - {%- else -%} - We do not upload any files to server, hence your data is 100% secure. - {%- endif -%} &nbsp; - <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload"> + {{featureData.alertmsg}} + {%- else -%} + We do not upload any files to server, hence your data is 100% secure. + {%- endif -%} &nbsp; + <img src="/assets/noserverupload.svg" height="23px" width="20px" alt="no server upload"> <button type="button" class="close" data-dismiss="alert" aria-label="Close"> - <span aria-hidden="true">&times;</span> + <span aria-hidden="true">&times;</span> </button> - </div> + </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"> @@ -63,11 +64,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 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}}> <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 %} @@ -76,35 +78,37 @@ <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 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}}"> </div> {%- endif -%} <div class="how-to-right"> <h3 class="how-to-title">{{featureData.HOW_TO_CONTENT.heading | replace: "$variable", page.value}}</h3> <ol class="how-to-list"> {% for data in featureData.HOW_TO_CONTENT.steps %} - <li id="step{{forloop.index}}" class="how-to-list-item">{{data | replace: "$variable", page.value}}</li> + <li id="step{{forloop.index}}" class="how-to-list-item">{{data | replace: "$variable", + page.value}}</li> {% endfor %} </ol> </div> </div> </div> </div> </div> - + <div class="container"> <div class="row"> <div class="col-md-8 mx-auto"> <div class="faq"> {%- if featureData.FAQ.size>0 -%} - <h2 class="feature-h1 text-center">{{featureData.faqheading | default: 'Frequently Asked Questions'}}</h2> + <h2 class="feature-h1 text-center">{{featureData.faqheading | default: 'Frequently Asked + Questions'}}</h2> {%- endif -%} <ul class="list-unstyled"> {% for data in featureData.FAQ %} <li> <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", @@ -126,23 +130,23 @@ {%- include share/socialshare.html -%} {%- include Rating/rating.html -%} {%- include /Usp/usp.html -%} {%- if featureData.display_formats -%} <div class="container compare-table "> - {%- include fileformat/fileformatdetail.html -%} + {%- include fileformat/fileformatdetail.html -%} </div> {%- endif -%} {%- if featureData.compare_formats -%} <div class="container file-detail-table "> {%- include fileformat/comparisonfiles.html -%} </div> {%- endif -%} - {%- if page.categories or page.tags-%} + {%- if page.categories.size> 0 or page.tags.size>0-%} {%- include section/related_categories_post.html -%} {%- else -%} {%- include section/recent_posts.html -%} {% endif %} {% include footer/index.html %} {% include script.html %} </body> -</html> +</html> \ No newline at end of file