Hide hidden posts from listings (#2345)
This commit is contained in:
1 parent
31dff63ad1
commit
4bf72cf73f
3 files changed
+6
No files matched your search
@@ -15,5 +15,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{%- for post in entries -%}
|
{%- for post in entries -%}
|
||||||
|
{%- unless post.hidden -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
{%- for post in site.categories[include.taxonomy] -%}
|
{%- for post in site.categories[include.taxonomy] -%}
|
||||||
|
{%- unless post.hidden -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
{%- for post in site.tags[include.taxonomy] -%}
|
{%- for post in site.tags[include.taxonomy] -%}
|
||||||
|
{%- unless post.hidden -%}
|
||||||
{% include archive-single.html %}
|
{% include archive-single.html %}
|
||||||
|
{%- endunless -%}
|
||||||
{%- endfor -%}
|
{%- endfor -%}
|
||||||
Reference in new issue
Block a user