diff --git a/layouts/partials/post/header_meta/categories.html b/layouts/partials/post/header_meta/categories.html index 6daa8e2..db09ec4 100644 --- a/layouts/partials/post/header_meta/categories.html +++ b/layouts/partials/post/header_meta/categories.html @@ -1,11 +1,11 @@ {{- if .Site.Params.postMeta.categories }} -{{- if and .Params.categories (gt (len .Params.categories) 0) }} +{{- with .Params.categories }} {{- print (T "PostCategory") (T "SymbolColon") -}} - {{- range (first 1 .Params.categories) }} + {{- range (first 1 .) }}