_layouts/feature.html in appscms-tools-theme-0.4.5 vs _layouts/feature.html in appscms-tools-theme-0.4.6
- old
+ new
@@ -7,14 +7,14 @@
{% assign lang = page.lang %}
{% assign folder = page.folderName %}
{% assign dataArr = site.data[folder][lang][file] %}
{% assign dataToShow = dataArr %}
{{page.title}}
- <div class="flex-container py-1">
- <div class="flex-class py-5 my-1">
+ <div class="flex-container">
+ <div class="flex-class py-4">
<div class="d-flex justify-content-center align-items-center"><span class="fHhdVc">
- <div class="div-cont feature-img"><svg xmlns="http://www.w3.org/2000/svg"
+ <div class="div-cont feature-img mr-2"><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">
</path>
</svg></div>
@@ -28,11 +28,11 @@
<div class="d-flex" id="__cond-922051">
<div class="flex-container">
<div class="flex-class">
<div class="d-flex flex-column">
<div class="box"
- style=background:{{dataToShow.bacgroundcolor}};min-height:{{dataToShow.height}};width:{{dataToShow.width}}>
+ style=background:{{dataToShow.color}};min-height:{{dataToShow.height}};width:{{dataToShow.width}}>
<div class="box-border"></div>
<div class="content-box">
<!-- <input type="file" id="__picker-input" multiple="" accept="application/pdf,.pdf,application/vnd.openxmlformats-officedocument.wordprocessingml.document,.docx,application/msword,.doc,application/vnd.openxmlformats-officedocument.presentationml.presentation,.pptx,application/vnd.ms-powerpoint,.ppt,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,.xlsx,application/vnd.ms-excel,.xls,image/bmp,.bmp,image/jpeg,.jpg,.jpeg,image/png,.png,image/tiff,.tif,.tiff" class="sc-1oqtgb8-0 fqzcVW"> -->
{{content}}
</div>
@@ -62,12 +62,14 @@
</div>
<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 dataToShow.HOW_TO_CONTENT.logoImageUrl -%}
<div class="how-to-img-wrapper "><img class="how-to-leftimg"
- src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" alt="{{dataToShow.HOW_TO_CONTENT.logoImageAlt}}">
- </div>
+ src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" alt="{{dataToShow.HOW_TO_CONTENT.logoImageAlt}}">
+ </div>
+ {%- endif -%}
<div class="how-to-right">
<h3 class="how-to-title">{{dataToShow.HOW_TO_CONTENT.heading | replace: "$variable",
page.value}}</h3>
<ol class="how-to-list">
{% for data in dataToShow.HOW_TO_CONTENT.steps %}
\ No newline at end of file