From 8e0c54ab9b6062dc2311f16bd5738dcab958c115 Mon Sep 17 00:00:00 2001 From: FFRaycoder Date: Sun, 24 May 2020 14:23:31 +0800 Subject: A small BUG!!!!!!!!!!!!! --- layouts/partials/components/home/eachpost.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/components/home/eachpost.html b/layouts/partials/components/home/eachpost.html index 449122b..5608a31 100644 --- a/layouts/partials/components/home/eachpost.html +++ b/layouts/partials/components/home/eachpost.html @@ -1,4 +1,4 @@ -{{ if .Params.Categories }} +{{ if or (.Params.Categories) (.Params.statusCate) }} {{ if .Params.buy }}
@@ -44,7 +44,7 @@ {{ end }} {{ end }}
- {{ if not (.Params.status) }} + {{ if not .Params.status }}
{{.Title}}
-- cgit v1.2.3