_layouts/appscms-feature.html in appscms-tools-theme-3.8.7 vs _layouts/appscms-feature.html in appscms-tools-theme-3.8.8
- old
+ new
@@ -8,27 +8,47 @@
<body>
{%- include appscms/navbars/navbar.html -%} {%- include
appscms/navbars/toolbar.html -%} {%- include bookmark.html -%} {%- if
site.safeui -%}
<div
- class="alert alert-{{featureData.variant | default: 'primary'}} fade show text-center"
+ class="alert alert-{{pageData.variant | default: 'primary'}} fade show text-center"
role="alert"
id="safeui-alert"
>
<div class="container">
- {%- if featureData.alertmsg -%} {{featureData.alertmsg}} {%- else -%} We
- do not upload any files to server, hence your data is 100% secure. {%-
+ {%- 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 -%} {%- include appscms/faq/faq.html -%} {%-
- include appscms/recent-posts/recent-posts.html -%}
+ 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 -%} -->
- {%- include appscms/extras/ratings.html -%} {%- include
- appscms/footer/products.html -%} {%- include appscms/footer/footer.html -%}
- {%- include appscms/scripts/script.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>