From 464ed12095c4c8faac1898e248c82363fcf06bb3 Mon Sep 17 00:00:00 2001 From: Stephan Hadan Date: Tue, 11 Feb 2025 14:38:37 +0100 Subject: [PATCH] * use it in every categories appearance --- layouts/partials/preview_micropost.html | 2 +- layouts/partials/preview_post.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/preview_micropost.html b/layouts/partials/preview_micropost.html index 2d8cc81..2433ea4 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 e62c000..45873f3 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 }}