_includes/howto.html in word-games-theme-1.5.6 vs _includes/howto.html in word-games-theme-1.5.7
- old
+ new
@@ -1,48 +1,12 @@
-<!-- how to section -->
{%- if dataToShow.HOW_TO_CONTENT -%}
<section class="how-to-section">
-
-
- {%- if site.MonumetricID and page.url != '/'-%}
- <div class="ads_layout">
- <p class="title mb-0">{{dataToShow.howto}}</p>
- </div>
- {%- else -%}
<div class="feature">
<p class="title mb-0">{{dataToShow.howto}}</p>
</div>
- {%- endif -%}
-
<div class="container">
<div class="row pt-5 justify-content-center">
- {% if site.MonumetricID and page.url != '/' %}
- <div class="col-md-4 order-0 ">
- {%- if dataToShow.HOW_TO_CONTENT.logoImageUrl -%}
- <div class="how-to-img-wrapper ">
- <img class="how-to-leftimg" height="300px" width="300px"
- src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
- alt="{{dataToShow.HOW_TO_CONTENT.logoImageAlt | default: 'how to image' }}">
- </div>
- {%- endif -%}
- </div>
- <div class="col-md-4 order-1">
- <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 %}
- <li id="step{{forloop.index}}" class="how-to-list-item">
- <span>{{forloop.index}}.</span>{{data |
- replace: "$variable",
- page.value}}
- </li>
- {% endfor %}
- </ol>
- </div>
- </div>
- {%- else -%}
<div class="col-md-6 order-0 ">
{%- if dataToShow.HOW_TO_CONTENT.logoImageUrl -%}
<div class="how-to-img-wrapper ">
<img class="how-to-leftimg" height="300px" width="300px"
src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}" loading="lazy"
@@ -63,10 +27,9 @@
</li>
{% endfor %}
</ol>
</div>
</div>
- {% endif %}
</div>
</div>
</section>
{%- endif -%}
\ No newline at end of file