diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 2f42332..8171048 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -1,5 +1,10 @@
+ {{ $baseUrl := .Site.BaseURL }} + {{ if isset .Params "topics" }} + {{ $count := len .Params.topics }} + {{ if gt $count 0 }} +
@@ -8,20 +13,15 @@
-
- - - {{ $baseUrl := .Site.BaseURL }} -
- {{ if isset .Params "topics" }} - {{ $count := len .Params.topics }} - {{ if gt $count 0 }} + + +
{{ range $k, $v := .Params.topics }} @@ -31,7 +31,7 @@
{{ end }} {{ end }} - + {{ if isset .Params "tags" }} {{ $count := len .Params.tags }} {{ if gt $count 0 }}