_layouts/feature.html in appscms-tools-theme-0.6.0 vs _layouts/feature.html in appscms-tools-theme-0.6.1

- old
+ new

@@ -3,113 +3,119 @@ {% assign folder = page.folderName %} {% assign featureData= site.data[folder][lang][file] %} <!DOCTYPE html> <html lang="{{featureData.htmlLangAtt}}"> {% include head/index.html %} + <body> {% include header/index.html %} {%- include dropdown/langdropdown.html -%} <div class="flex-container"> <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 style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}}; src="{{featureData.img}}" alt="{{featureData.imgalt}}"> - {%- 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"> - </path> - </svg> - {%- endif -%} </div> - </span> - <h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1> - </div> - <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2> + <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 style=width:{{featureData.imgwidth}};height:{{featureData.imgheight}}; + src="{{featureData.img}}" alt="{{featureData.imgalt}}"> + {%- 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"> + </path> + </svg> + {%- endif -%} + </div> + </span> + <h1 class="feature-h1">{{featureData.H1 | replace: "$variable", page.value}}</h1> </div> + <h2 class="feature-h2">{{featureData.H2 | replace: "$variable", page.value}}</h2> + </div> </div> <div class="box-padding"> - <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:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}> - <div class="box-border"></div> - <div class="content-box"> - {{content}} - </div> + <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:{{featureData.color}};min-height:{{featureData.height}};width:{{featureData.width}}> + <div class="box-border"></div> + <div class="content-box"> + {{content}} </div> </div> </div> </div> </div> + </div> </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}}" - 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><img class="feature-card-img" src="{{data.logoUrl}}" 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> - {% endfor %} </div> + {% endfor %} </div> + </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 featureData.HOW_TO_CONTENT.logoImageUrl -%} - <div class="how-to-img-wrapper "><img class="how-to-leftimg" - src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" alt="{{featureData.HOW_TO_CONTENT.logoImageAlt}}"> + <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" + src="{{featureData.HOW_TO_CONTENT.logoImageUrl}}" + 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 class="how-to-list-item">{{data | replace: "$variable", page.value}}</li> - {% endfor %} - </ol> - </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 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"> <h2 class="feature-h1 text-center">Frequently Asked Questions</h2> <ul class="list-unstyled"> {% for data in featureData.FAQ %} <li> - <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", page.value}}<em - style="transform: rotate(-135deg);"> + <h3 class="faq-question" itemprop="name">{{data.question | replace: "$variable", + page.value}}<em style="transform: rotate(-135deg);"> <i></i></em> </h3> <div style="display: block;"> - <p class="faq-answer" itemprop="text">{{data.answer | replace: "$variable", page.value}}</p> + <p class="faq-answer" itemprop="text">{{data.answer | replace: "$variable", page.value}} + </p> </div> </li> <hr> {% endfor %} </ul> + </div> </div> - </div> </div> - -</div> + </div> {%- include share/socialshare.html -%} {%- include Rating/rating.html -%} - {%- if page.categories or page.tag-%} + {%- if page.categories or page.tags-%} {%- include section/related_categories_post.html -%} + {%- else -%} + {%- include section/recent_posts.html -%} {% endif %} {% include footer/index.html %} {% include script.html %} </body> + </html> \ No newline at end of file