diff --git a/layouts/partials/preview_micropost.html b/layouts/partials/preview_micropost.html index a017109..99c4249 100644 --- a/layouts/partials/preview_micropost.html +++ b/layouts/partials/preview_micropost.html @@ -11,7 +11,7 @@ in {{ range $i, $v := .Params.categories }} - {{ $v }}{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} + {{ $v }}{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} {{ end }} {{ end }} diff --git a/layouts/partials/preview_post.html b/layouts/partials/preview_post.html index 4cf2cb2..5538555 100644 --- a/layouts/partials/preview_post.html +++ b/layouts/partials/preview_post.html @@ -10,7 +10,7 @@ in {{ range $i, $v := .Params.categories }} - {{ $v }}{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} + {{ $v }}{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} {{ end }} {{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 767f353..8e0ae13 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -13,7 +13,7 @@