_layouts/termAndCondition.html in appscms-tools-theme-0.4.4 vs _layouts/termAndCondition.html in appscms-tools-theme-0.4.5
- old
+ new
@@ -1,24 +1,18 @@
-{% assign file = page.fileName %}
-{% assign dataArr = site.data.pages[file] %}
-{% assign dataToShow = dataArr %}
-<!DOCTYPE html>
-<html lang="en" data-tool="landing">
-{% include head/index.html %}
-
-<body>
- {% include header/index.html %}
- <div class="sc-1ttxsn1-0 fxCLCz">
- <div class="sc-1ttxsn1-1 hvHwmD">
- <div class="sc-8oiqhz-0 fMjvGP">
- <h1 class="sc-8oiqhz-1 fMrSkY">{{dataToShow.h1}}</h1>
- <h2 class="sc-8oiqhz-2 fMAoPh">{{dataToShow.h2}}</h2>
- <p>
- {{dataToShow.paragraph}}
- </p>
- </div>
- </div>
- </div>
- {% include footer/index.html %}
-</body>
-
+{% assign file = page.fileName %}
+{% assign folder = page.folderName %}
+{% assign lang = page.lang %}
+{% assign termsData = site.data[folder][lang][file] %}
+<!DOCTYPE html>
+<html lang="en" data-tool="landing">
+{% include head/index.html %}
+<body>
+ {% include header/index.html %}
+ <div class="container py-4">
+ <h1 class="about-h1 py-2">{{termsData.h1}}</h1>
+ <h2 class="about-h2">{{termsData.h2}}</h2>
+ <p class="py-2">{{termsData.paragraph}}</p>
+ </div>
+ {% include footer/index.html %}
+</body>
+
</html>
\ No newline at end of file