Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ThemeTony/hugo-theme-tony.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFFRaycoder <nn_201312@163.com>2020-05-24 09:23:31 +0300
committerFFRaycoder <nn_201312@163.com>2020-05-24 09:23:31 +0300
commit8e0c54ab9b6062dc2311f16bd5738dcab958c115 (patch)
tree3de8e7ca472afe62d46447e7857079463238cd70
parentd5326fa0987878e17cc7b6d18b27485c3f4e4c94 (diff)
A small BUG!!!!!!!!!!!!!
-rw-r--r--layouts/partials/components/home/eachpost.html4
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>