From 7c4260453d561d19ef28e9d6af2a103d8d2ca149 Mon Sep 17 00:00:00 2001 From: Stephan Hadan Date: Tue, 11 Feb 2025 14:19:21 +0100 Subject: [PATCH] * another fix --- layouts/partials/preview_micropost.html | 2 +- layouts/partials/preview_post.html | 2 +- layouts/posts/single.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/preview_micropost.html b/layouts/partials/preview_micropost.html index ecdd1c1..2d8cc81 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 89440d2..e62c000 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 beb6bd2..9046d0c 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -13,7 +13,7 @@
Geschrieben am 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 }}