_layouts/devtool-feature.html in appscms-tools-theme-4.5.4 vs _layouts/devtool-feature.html in appscms-tools-theme-4.6.2
- old
+ new
@@ -1,55 +1,55 @@
-{% 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 -%} {%- include bookmark.html -%} {%- if
- site.safeui -%}
- <div
- class="alert alert-{{pageData.variant | default: 'primary'}} fade show text-center"
- role="alert"
- id="safeui-alert"
- >
- <div class="container">
- {%- if pageData.alertmsg -%} {{pageData.alertmsg}} {%- else -%} We do
- not upload any files to server, hence your data is 100% secure. {%-
- endif -%}
- </div>
- </div>
- {%- endif -%} {%- include appscms/headings/headings.html -%} {%- include
- appscms/uploadbutton/uploadbutton.html -%} {%- include
- appscms/featurehighlight/featurehighlight.html -%} {%- include
- appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
- include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
- appscms/faq/faq.html -%}
- <!-- {%- include
- appscms/extras/traffic-count.html -%} -->
- {%- if site.userTrackingCount -%} {%- include userTracking.html -%} {%-
- endif -%} {%- 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/ratings.html -%} {%- if
- pageData.author.size > 0 -%} {% include
- appscms/featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {%-
- include appscms/footer/products.html -%} {%- include
- appscms/footer/footer.html -%} {%- if site.customCode -%} {%- include
- customCode.html -%} {%- endif -%} {%- 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 -%} {%- include bookmark.html -%} {%- if
+ site.safeui -%}
+ <div
+ class="alert alert-{{pageData.variant | default: 'primary'}} fade show text-center"
+ role="alert"
+ id="safeui-alert"
+ >
+ <div class="container">
+ {%- if pageData.alertmsg -%} {{pageData.alertmsg}} {%- else -%} We do
+ not upload any files to server, hence your data is 100% secure. {%-
+ endif -%}
+ </div>
+ </div>
+ {%- endif -%} {%- include appscms/headings/headings.html -%} {%- include
+ appscms/uploadbutton/uploadbutton.html -%} {%- include
+ appscms/featurehighlight/featurehighlight.html -%} {%- include
+ appscms/howto/howto.html -%} {%- if pageData.infographics.size > 0 -%} {%-
+ include appscms/infographics/infographics.html -%} {%- endif -%} {%- include
+ appscms/faq/faq.html -%}
+ <!-- {%- include
+ appscms/extras/traffic-count.html -%} -->
+ {%- if site.userTrackingCount -%} {%- include userTracking.html -%} {%-
+ endif -%} {%- 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/ratings.html -%} {%- if
+ pageData.author.size > 0 -%} {% include
+ appscms/featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {%-
+ include appscms/footer/products.html -%} {%- include
+ appscms/footer/footer.html -%} {%- if site.customCode -%} {%- include
+ customCode.html -%} {%- endif -%} {%- include appscms/scripts/script.html
+ -%}
+ </body>
+ </html>
\ No newline at end of file