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:21:49 +0300
committerFFRaycoder <nn_201312@163.com>2020-05-24 09:21:49 +0300
commitd5326fa0987878e17cc7b6d18b27485c3f4e4c94 (patch)
tree7e21e6787dd422b43122a2decea830190f5b6c4b
parentf3f2fb573743fc8e85de3842391bd37f9401642e (diff)
small bug...
-rw-r--r--layouts/partials/components/home/eachpost.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/components/home/eachpost.html b/layouts/partials/components/home/eachpost.html
index 7c4c942..449122b 100644
--- a/layouts/partials/components/home/eachpost.html
+++ b/layouts/partials/components/home/eachpost.html
@@ -55,7 +55,7 @@
<div class="article-list-footer">
<span class="article-list-date">{{ .Date.Format "02-01-06" }}</span>
{{ if .Params.buy }}
- {{ if and ((not .Params.categoryLink) .Params.Categories) }}
+ {{ if .Params.Categories }}
<span class="article-list-divider">-</span>
<a class="article-list-date" style="margin: 0px;">{{ delimit .Params.Categories " | " }}</a>
{{ end }}