_layouts/feature.html in appscms-tools-theme-0.3.9 vs _layouts/feature.html in appscms-tools-theme-0.4.0
- old
+ new
@@ -1,10 +1,10 @@
<!DOCTYPE html>
<html lang="en" data-tool="landing">
{% include head/index.html %}
-
+{{page.value}}
<body>
{% include header/index.html %}
{% assign file = page.fileName %}
{% assign lang = page.lang %}
{% assign dataArr = site.data.feature[lang][file] %}
@@ -19,13 +19,13 @@
<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>
</span>
- <h1 class="sc-17y9jfw-2 lpnhkH">{{dataToShow.H1}}</h1>
+ <h1 class="sc-17y9jfw-2 lpnhkH">{{dataToShow.H1 | replace: "$variable", page.value}}</h1>
</div>
- <h2 class="sc-17y9jfw-3 lpvDOQ">{{dataToShow.H2}}</h2>
+ <h2 class="sc-17y9jfw-3 lpvDOQ">{{dataToShow.H2 | replace: "$variable", page.value}}</h2>
</div>
</div>
</div>
<!-- h1 and h2 End -->
@@ -74,12 +74,12 @@
<div class="sc-1ttxsn1-1 hvHwmD">
<div class="tie4x1-0 esoOLU">
{% for data in dataToShow.TEXTUAL_CONTENT %}
<div class="sc-7ukfwr-0 kmltsK"><img class="sc-7ukfwr-1 kmtPWT" src="{{data.logoUrl}}"
alt={{data.header}}>
- <div class="sc-7ukfwr-2 kmCmBc">{{data.header}}</div>
- <div class="sc-7ukfwr-3 kmKJfl">{{data.content}}</div>
+ <div class="sc-7ukfwr-2 kmCmBc">{{data.header | replace: "$variable", page.value}}</div>
+ <div class="sc-7ukfwr-3 kmKJfl">{{data.content | replace: "$variable", page.value}}</div>
</div>
{% endfor %}
</div>
</div>
</div>
@@ -91,14 +91,14 @@
<div class="sc-1ttxsn1-1 hvHwmD">
<div class="sc-1xhbmbb-1 gBPLal">
<div class="sc-1xhbmbb-3 gCgEiD"><img class="sc-1xhbmbb-4 gCpaMM" src="{{dataToShow.HOW_TO_CONTENT.logoImageUrl}}"
alt="How to reduce a PDF size online:"></div>
<div class="sc-1xhbmbb-5 gCxxqV">
- <h3 class="sc-1xhbmbb-2 gBYhEu">{{dataToShow.HOW_TO_CONTENT.heading}}</h3>
+ <h3 class="sc-1xhbmbb-2 gBYhEu">{{dataToShow.HOW_TO_CONTENT.heading | replace: "$variable", page.value}}</h3>
<ol class="sc-1xhbmbb-6 gCFTVe">
{% for data in dataToShow.HOW_TO_CONTENT.steps %}
- <li class="sc-1xhbmbb-7 gCOqzn">{{data}}</li>
+ <li class="sc-1xhbmbb-7 gCOqzn">{{data | replace: "$variable", page.value}}</li>
{% endfor %}
</ol>
</div>
</div>
</div>
@@ -111,15 +111,15 @@
<div class="faq-container">
<h2 class="lpnhkH">Frequently Asked Questions</h2>
<ul class="faq-list">
{% for data in dataToShow.FAQ %}
<li>
- <h3 class="kmCmBc-q" itemprop="name">{{data.question}}<em
+ <h3 class="kmCmBc-q" itemprop="name">{{data.question | replace: "$variable", page.value}}<em
style="transform: rotate(-135deg);">
<i></i></em>
</h3>
<div style="display: block;">
- <p class="kmKJfl-p" itemprop="text">{{data.answer}}</p>
+ <p class="kmKJfl-p" itemprop="text">{{data.answer | replace: "$variable", page.value}}</p>
</div>
</li>
<hr>
{% endfor %}
</ul>
\ No newline at end of file