diff options
author | FFRaycoder <nn_201312@163.com> | 2020-05-22 15:00:09 +0300 |
---|---|---|
committer | FFRaycoder <nn_201312@163.com> | 2020-05-22 15:00:09 +0300 |
commit | b7462005ced5fbc3fe81d6a8a4e8840fc28376ad (patch) | |
tree | ec5d222d6f4cb981d39815f820478c4ea6a4f064 | |
parent | 759c622f8dc8d23e68d8c24de5962e0b85857690 (diff) |
fixed a small bug
-rw-r--r-- | layouts/partials/components/home/eachpost.html | 2 |
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 }}
|