_includes/feature.html in appscms-tools-theme-1.9.9 vs _includes/feature.html in appscms-tools-theme-2.0.1

- old
+ new

@@ -1,38 +1,38 @@ -{% assign path = page.jsonFile %} -{% assign jsonPath = site.data[path] %} -{% assign dataToShow = jsonPath %} -<div class="container-fluid"> - <div class="row"> - <div class="col-xl-3 col-lg-12"> - <div class="row"> - <div class="col-xl-3 p-0"> - <div class="feature"> - <img src="/assets/images/left_obj_01.png" alt="" {%- if site.crossorigin -%} crossorigin {%- - endif -%}> - <span class="site-no"> {{dataToShow.featureNo}}</span> - <h5 class="title">{{dataToShow.feature_title}}</h5> - <p class="description">{{dataToShow.feature_description}}</p> - </div> - </div> - </div> - </div> - <div class="col-xl-9 col-lg-12"> - <div class="row text-center"> - {% for entry in dataToShow.featureList %} - <div class="col-lg-4 col-md-6 my-3"> - <div class="card-body h-100"> - <i loading="lazy" class="{{ entry.fa_class }} FA"></i> - <h5 class="card-title"> - {{ entry.feature_heading }} - </h5> - <p class="card-text" style="color: #a7a7a7; - font-size: 14px;">{{ entry.feature_text}}</p> - </div> - </div> - {% endfor %} - </div> - </div> - </div> -</div> -<link rel="stylesheet" href="{{ 'css/feature.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif +{% assign path = page.jsonFile %} +{% assign jsonPath = site.data[path] %} +{% assign dataToShow = jsonPath %} +<div class="container-fluid"> + <div class="row"> + <div class="col-xl-3 col-lg-12"> + <div class="row"> + <div class="col-xl-3 p-0"> + <div class="feature"> + <img src="/assets/images/left_obj_01.png" alt="" {%- if site.crossorigin -%} crossorigin {%- + endif -%}> + <span class="site-no"> {{dataToShow.featureNo}}</span> + <h5 class="title">{{dataToShow.feature_title}}</h5> + <p class="description">{{dataToShow.feature_description}}</p> + </div> + </div> + </div> + </div> + <div class="col-xl-9 col-lg-12"> + <div class="row text-center"> + {% for entry in dataToShow.featureList %} + <div class="col-lg-4 col-md-6 my-3"> + <div class="card-body h-100"> + <i loading="lazy" class="{{ entry.fa_class }} FA"></i> + <h5 class="card-title"> + {{ entry.feature_heading }} + </h5> + <p class="card-text" style="color: #a7a7a7; + font-size: 14px;">{{ entry.feature_text}}</p> + </div> + </div> + {% endfor %} + </div> + </div> + </div> +</div> +<link rel="stylesheet" href="{{ 'css/feature.css' | relative_url }}" {%- if site.crossorigin -%} crossorigin {%- endif -%}> \ No newline at end of file