_layouts/termAndCondition.html in appscms-tools-theme-0.4.6 vs _layouts/termAndCondition.html in appscms-tools-theme-0.4.7

- old
+ new

@@ -5,14 +5,43 @@ <!DOCTYPE html> <html lang="en" data-tool="landing"> {% include head/index.html %} <body> {% include header/index.html %} + {%- include dropdown/langdropdown.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> + <!-- <p>{{site.pages}}</p> --> + <h1 class="about-h1 py-4">{{termsData.h1}}</h1> + <div class="py-3"> + {%- for item in termsData.termsAndConditions -%} + {%- if item.li -%} + <li> {{item.li}} </li> + {%- endif -%} + {%- if item.h1 -%} + <h1> {{item.h1}} </h1> + {%- endif -%} + {%- if item.h2 -%} + <h2> {{item.h2}} </h2> + {%- endif -%} + {%- if item.p -%} + <p>{{item.p | replace:"$companyName", page.companyName | replace:"$domain", page.domain }}</p> + {%- endif -%} + {%- if item.h3 -%} + <h3> {{item.h3}} </h3> + {%- endif -%} + {%- if item.h4 -%} + <h4> {{item.h4}} </h4> + {%- endif -%} + {%- if item.h5 -%} + <h5> {{item.h5}} </h5> + {%- endif -%} + {%- if item.h6 -%} + <h6> {{item.h6}} </h6> + {%- endif -%} + {%- endfor -%} + </div> </div> {% include footer/index.html %} + {% include script.html %} </body> </html> \ No newline at end of file