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-22 15:00:09 +0300
committerFFRaycoder <nn_201312@163.com>2020-05-22 15:00:09 +0300
commitb7462005ced5fbc3fe81d6a8a4e8840fc28376ad (patch)
treeec5d222d6f4cb981d39815f820478c4ea6a4f064
parent759c622f8dc8d23e68d8c24de5962e0b85857690 (diff)
fixed a 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 7a830b8..27d7b5e 100644
--- a/layouts/partials/components/home/eachpost.html
+++ b/layouts/partials/components/home/eachpost.html
@@ -55,7 +55,7 @@
{{ end }}
<div class="article-list-footer">
{{ if .Params.buy }}
- {{ if .Categories }}
+ {{ if .Params.Categories }}
<a class="article-list-date" style="margin: 0px;">{{ delimit .Params.Categories " | " }}</a>
<span class="article-list-divider">-</span>
{{ end }}