_layouts/appscms-home.html in appscms-tools-theme-3.9.5 vs _layouts/appscms-home.html in appscms-tools-theme-3.9.6

- old
+ new

@@ -26,9 +26,24 @@ appscms/category-tabs/category-tabs.html -%} --> {%- include appscms/home/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