_layouts/contenttool-home.html in appscms-tools-theme-4.5.4 vs _layouts/contenttool-home.html in appscms-tools-theme-4.6.2
- old
+ new
@@ -1,54 +1,54 @@
-{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
- = page.folderName %} {% assign pageData = site.data[folder][lang][file] %} {%-
- assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
- <!DOCTYPE html>
- <html lang="{{ page.lang }}">
- {%- include appscms/head/head.html -%}
- <body>
- {%- include appscms/navbars/navbar.html -%} {%- include
- appscms/navbars/toolbar.html -%} {%- if homeData.nofileupload -%}
- <div
- id="safeui-alert"
- class="alert alert-{{homeData.variant | default: 'primary'}} fade show text-center"
- role="alert"
- >
- <div class="container">
- {%- if homeData.alertmsg -%} {{homeData.alertmsg}} {%- else -%} We do
- not upload any files to server, hence your data is 100% secure. {%-
- endif -%}
- </div>
- </div>
- {%- endif -%} {%- include appscms/headings/contenttool-headings.html -%} {%- if
- site.search -%} {%- include appscms/searchbar/searchbar.html -%} {%- endif
- -%}
-
- <!-- {%- include
- appscms/category-tabs/category-tabs.html -%} -->
- {%- include appscms/home/contenttool-feature-boxes.html -%}
- <div class="appcms-home-content-box" id="appcms-home-content-box">
- {{ content }}
- </div>
- {%- assign langen = "en" -%} {%- if
- site.data[folder][langen][file].categories -%} {% assign categories=
- site.data[folder][langen][file].categories %} {%- else -%} {% assign
- categories= page.categories %} {%- endif -%} {%- if
- site.data[folder][langen][file].tags -%} {% assign tags=
- site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
- page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
- appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
- categories.size > 0 or tags.size > 0 -%} {%- include
- appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
- include appscms/recent-posts/recent_posts.html -%} {%- endif -%} {%- endif
- -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
- tags.size>0-%} {%- include appscms/customblog/relatedposts.html -%} {%- else
- -%} {%- include appscms/customblog/recentposts.html -%} {% endif %} {%-
- endif -%}
-
- <!--
- {%- include
- appscms/extras/traffic-count.html -%} -->
- {%- include appscms/footer/products.html -%} {%- include
- appscms/footer/footer.html -%} {%- include appscms/scripts/script.html -%}
- </body>
- </html>
+{% assign file = page.fileName %} {% assign lang = page.lang %} {% assign folder
+ = page.folderName %} {% assign pageData = site.data[folder][lang][file] %} {%-
+ assign boxColor = site.data[page.folderName][page.lang][page.fileName].color -%}
+ <!DOCTYPE html>
+ <html lang="{{ page.lang }}">
+ {%- include appscms/head/head.html -%}
+ <body>
+ {%- include appscms/navbars/navbar.html -%} {%- include
+ appscms/navbars/toolbar.html -%} {%- if homeData.nofileupload -%}
+ <div
+ id="safeui-alert"
+ class="alert alert-{{homeData.variant | default: 'primary'}} fade show text-center"
+ role="alert"
+ >
+ <div class="container">
+ {%- if homeData.alertmsg -%} {{homeData.alertmsg}} {%- else -%} We do
+ not upload any files to server, hence your data is 100% secure. {%-
+ endif -%}
+ </div>
+ </div>
+ {%- endif -%} {%- include appscms/headings/contenttool-headings.html -%} {%- if
+ site.search -%} {%- include appscms/searchbar/searchbar.html -%} {%- endif
+ -%}
+
+ <!-- {%- include
+ appscms/category-tabs/category-tabs.html -%} -->
+ {%- include appscms/home/contenttool-feature-boxes.html -%}
+ <div class="appcms-home-content-box" id="appcms-home-content-box">
+ {{ content }}
+ </div>
+ {%- assign langen = "en" -%} {%- if
+ site.data[folder][langen][file].categories -%} {% assign categories=
+ site.data[folder][langen][file].categories %} {%- else -%} {% assign
+ categories= page.categories %} {%- endif -%} {%- if
+ site.data[folder][langen][file].tags -%} {% assign tags=
+ site.data[folder][langen][file].tags %} {%- else -%} {% assign tags=
+ page.tags %} {%- endif -%} {%- if pageData.posts.size > 0 -%} {%- include
+ appscms/customblog/pageRelatedPosts.html -%} {%- else -%} {%- if
+ categories.size > 0 or tags.size > 0 -%} {%- include
+ appscms/recent-posts/related_categories_post.html -%} {%- else -%} {%-
+ include appscms/recent-posts/recent_posts.html -%} {%- endif -%} {%- endif
+ -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
+ tags.size>0-%} {%- include appscms/customblog/relatedposts.html -%} {%- else
+ -%} {%- include appscms/customblog/recentposts.html -%} {% endif %} {%-
+ endif -%}
+
+ <!--
+ {%- include
+ appscms/extras/traffic-count.html -%} -->
+ {%- include appscms/footer/products.html -%} {%- include
+ appscms/footer/footer.html -%} {%- include appscms/scripts/script.html -%}
+ </body>
+ </html>
\ No newline at end of file