From 817259edb690fddf8d6c6911278cc135ac5f36f4 Mon Sep 17 00:00:00 2001 From: FFRaycoder Date: Sun, 24 May 2020 14:28:25 +0800 Subject: just a small bug please --- layouts/partials/components/home/eachpost.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/layouts/partials/components/home/eachpost.html b/layouts/partials/components/home/eachpost.html index f298924..1993b3a 100644 --- a/layouts/partials/components/home/eachpost.html +++ b/layouts/partials/components/home/eachpost.html @@ -28,18 +28,20 @@ - {{ if .Params.categoryLink }} -
- - {{ delimit .Params.Categories " | " }} - -
- {{ else if not .Params.statusCate }} -
- - {{ delimit .Params.Categories " | " }} - -
+ {{ if not .Params.status }} + {{ if .Params.categoryLink }} +
+ + {{ delimit .Params.Categories " | " }} + +
+ {{ else }} +
+ + {{ delimit .Params.Categories " | " }} + +
+ {{ end }} {{ end }} {{ end }} {{ end }} -- cgit v1.2.3