From 3177ca8e67d53e7350163eceba32bbd9d7ecccb2 Mon Sep 17 00:00:00 2001 From: minoplhy Date: Tue, 18 Apr 2023 23:29:20 +0700 Subject: [PATCH] crappy-reverie : fix hidden post show in categories --- _pages/categories.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_pages/categories.md b/_pages/categories.md index eccf362..862cde0 100644 --- a/_pages/categories.md +++ b/_pages/categories.md @@ -15,9 +15,11 @@ title: Categories

{{ category_name }}

{% for post in site.categories[category_name] %} + {% if post.hidden != true %}

{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%}

+ {% endif %} {% endfor %} {% endfor %}