diff options
author | FFRaycoder <nn_201312@163.com> | 2020-05-24 09:23:31 +0300 |
---|---|---|
committer | FFRaycoder <nn_201312@163.com> | 2020-05-24 09:23:31 +0300 |
commit | 8e0c54ab9b6062dc2311f16bd5738dcab958c115 (patch) | |
tree | 3de8e7ca472afe62d46447e7857079463238cd70 | |
parent | d5326fa0987878e17cc7b6d18b27485c3f4e4c94 (diff) |
A small BUG!!!!!!!!!!!!!
-rw-r--r-- | layouts/partials/components/home/eachpost.html | 4 |
1 files 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 }}
<div>
<div class="buy-list-item">
@@ -44,7 +44,7 @@ {{ end }}
{{ end }}
<div>
- {{ if not (.Params.status) }}
+ {{ if not .Params.status }}
<a href="{{ .Permalink | relURL }}" class="" style="text-decoration: none;">
<h5 style="margin: 15px 0px 0px; padding: 0px;">{{.Title}}</h5>
</a>
|