_includes/staticfooter.html in appscms-tools-theme-3.0.8 vs _includes/staticfooter.html in appscms-tools-theme-3.0.9

- old
+ new

@@ -1,70 +1,70 @@ -{% assign lang = page.lang %} -{% assign dataToShow = site.data.footer[lang].data %} -{%- assign networksitesData = site.data.footer.networksites -%} -{%- include languages/languages.html -%} -{% assign dataFile= site.data[folder][lang][file] %} -<footer class="footer"> - <div class="container"> - {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} - - <div class="row"> - <div class="col-md-9 mx-auto"> - {%- endif -%} - <div class="footer-wrapper"> - {%- if dataToShow.logo -%} - <div class="footer-logo-cont"> - <img width="{{dataToShow.width | default: logovalue}}" - height="{{dataToShow.height | default: logovalue}}" loading="lazy" src="{{dataToShow.logo}}" - title="logo" class="footer-logo" {%- if site.crossorigin -%} crossorigin {%- endif -%}> - <div class="footer-title">{{dataToShow.heading}}</div> - </div> - {%- endif -%} - <nav class="footer-nav"> - <ul class="footer-ul"> - <h2 class="footer-ul-title">{{dataToShow.companytitle | default: 'Company' }}</h2> - {% for data in dataToShow.company %} - <a class="footer-link" href="{{data.url}}">{{data.name}}</a> - {% endfor %} - </ul> - <ul class="footer-ul"> - <h2 class="footer-ul-title">{{dataToShow.producttitle | default: 'Product' }}</h2> - {% for data in dataToShow.product %} - <a class="footer-link" href="{{data.url}}">{{data.name}}</a> - {% endfor %} - </ul> - <ul class="footer-ul"> - <h2 class="footer-ul-title">{{dataToShow.networksitestitle | default: 'Network sites'}}</h2> - {% for data in networksitesData.networkSites %} - <a class="footer-link" href="{{data.url}}">{{data.name}}</a> - {% endfor %} - </ul> - </nav> - </div> - <div class="jKLUgT"></div> - <div class="d-flex py-4"> - {% for data in dataToShow.social %} - <a class="cVpsCJ px-3" target="_blank" rel="noopener noreferrer" href="{{data.url}}" - title="LinkedIn"> - <div class="sDfHB" style="width:24px;height:24px"> - <img loading="lazy" src="{{data.logo}}" title="{{data.title}}" {%- if site.crossorigin -%} - crossorigin {%- endif -%}> - </div> - </a> - {% endfor %} - </div> - <div class="privacy-footer"> - <div class="footer-msg">{{dataToShow.messege}} - </div> - <div class="privacy-links"> - {% for data in dataToShow.legal %} - <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div> - {% endfor %} - </div> - </div> - {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} - - </div> - </div> - {%- endif -%} - </div> +{% assign lang = page.lang %} +{% assign dataToShow = site.data.footer[lang].data %} +{%- assign networksitesData = site.data.footer.networksites -%} +{%- include languages/languages.html -%} +{% assign dataFile= site.data[folder][lang][file] %} +<footer class="footer"> + <div class="container"> + {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} + + <div class="row"> + <div class="col-md-9 mx-auto"> + {%- endif -%} + <div class="footer-wrapper"> + {%- if dataToShow.logo -%} + <div class="footer-logo-cont"> + <img width="{{dataToShow.width | default: logovalue}}" + height="{{dataToShow.height | default: logovalue}}" loading="lazy" src="{{dataToShow.logo}}" + title="logo" class="footer-logo" {%- if site.crossorigin -%} crossorigin {%- endif -%}> + <div class="footer-title">{{dataToShow.heading}}</div> + </div> + {%- endif -%} + <nav class="footer-nav"> + <ul class="footer-ul"> + <h2 class="footer-ul-title">{{dataToShow.companytitle | default: 'Company' }}</h2> + {% for data in dataToShow.company %} + <a class="footer-link" href="{{data.url}}">{{data.name}}</a> + {% endfor %} + </ul> + <ul class="footer-ul"> + <h2 class="footer-ul-title">{{dataToShow.producttitle | default: 'Product' }}</h2> + {% for data in dataToShow.product %} + <a class="footer-link" href="{{data.url}}">{{data.name}}</a> + {% endfor %} + </ul> + <ul class="footer-ul"> + <h2 class="footer-ul-title">{{dataToShow.networksitestitle | default: 'Network sites'}}</h2> + {% for data in networksitesData.networkSites %} + <a class="footer-link" href="{{data.url}}">{{data.name}}</a> + {% endfor %} + </ul> + </nav> + </div> + <div class="jKLUgT"></div> + <div class="d-flex py-4"> + {% for data in dataToShow.social %} + <a class="cVpsCJ px-3" target="_blank" rel="noopener noreferrer" href="{{data.url}}" + title="LinkedIn"> + <div class="sDfHB" style="width:24px;height:24px"> + <img loading="lazy" src="{{data.logo}}" title="{{data.title}}" {%- if site.crossorigin -%} + crossorigin {%- endif -%}> + </div> + </a> + {% endfor %} + </div> + <div class="privacy-footer"> + <div class="footer-msg">{{dataToShow.messege}} + </div> + <div class="privacy-links"> + {% for data in dataToShow.legal %} + <div class="privacy-links-item"><a href="{{data.url}}">{{data.name}}</a></div> + {% endfor %} + </div> + </div> + {%- if site.monumetricId and page.url != '/' and page.lang == "en" -%} + + </div> + </div> + {%- endif -%} + </div> </footer> \ No newline at end of file