_layouts/feature.html in appscms-tools-theme-3.7.5 vs _layouts/feature.html in appscms-tools-theme-3.7.6
- old
+ new
@@ -417,15 +417,16 @@
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 categories.size> 0 or tags.size>0-%} {%-
- include section/related_categories_post.html -%} {%- else -%} {%- include
- section/recent_posts.html -%} {% endif %} {%- if site.customblogdata -%} {%-
- if categories.size> 0 or tags.size>0-%} {%- include
- customblog/relatedposts.html -%} {%- else -%} {%- include
- customblog/recentposts.html -%} {% endif %} {%- endif -%} {%- if
+ page.tags %} {%- endif -%} {%- if featureData.posts.size > 0 -%} {%- include
+ customblog/pageRelatedPosts.html -%} {%- else -%} {%- if categories.size > 0
+ or tags.size > 0 -%} {%- include section/related_categories_post.html -%}
+ {%- else -%} {%- include section/recent_posts.html -%} {%- endif -%} {%-
+ endif -%} {%- if site.customblogdata -%} {%- if categories.size> 0 or
+ tags.size>0-%} {%- include customblog/relatedposts.html -%} {%- else -%} {%-
+ include customblog/recentposts.html -%} {% endif %} {%- endif -%} {%- if
featureData.author.size > 0 -%} {% include
featurePageAuthors/featurePageAuthors.html %} {%- endif -%} {% include
footer/index.html %} {%- if site.customCode -%} {%- include customCode.html
-%} {%- endif -%} {% include script.html %}
</body>