diff --git a/_includes/documents-collection.html b/_includes/documents-collection.html index 13b4006ea0be..376a509e3e49 100644 --- a/_includes/documents-collection.html +++ b/_includes/documents-collection.html @@ -15,5 +15,7 @@ {% endif %} {%- for post in entries -%} - {% include archive-single.html %} + {%- unless post.hidden -%} + {% include archive-single.html %} + {%- endunless -%} {%- endfor -%} diff --git a/_includes/posts-category.html b/_includes/posts-category.html index 98be3e96d254..b364f30e94e5 100644 --- a/_includes/posts-category.html +++ b/_includes/posts-category.html @@ -1,3 +1,5 @@ {%- for post in site.categories[include.taxonomy] -%} - {% include archive-single.html %} + {%- unless post.hidden -%} + {% include archive-single.html %} + {%- endunless -%} {%- endfor -%} diff --git a/_includes/posts-tag.html b/_includes/posts-tag.html index 180a2f315d25..46fade02a01f 100644 --- a/_includes/posts-tag.html +++ b/_includes/posts-tag.html @@ -1,3 +1,5 @@ {%- for post in site.tags[include.taxonomy] -%} - {% include archive-single.html %} + {%- unless post.hidden -%} + {% include archive-single.html %} + {%- endunless -%} {%- endfor -%}