From e73a41f1c82cfb497ac82b790b84527064a30c7b Mon Sep 17 00:00:00 2001 From: Stephan Hadan <stephan.hadan@hadan-it.com> Date: Tue, 11 Feb 2025 14:33:23 +0100 Subject: [PATCH] and again --- layouts/posts/single.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index e8c18df..7d771c3 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -12,9 +12,8 @@ <div class="postmeta">Geschrieben am <time datetime='{{ .Date | time.Format ":date_long" }}' pubdate="">{{ .Date | time.Format ":date_long" }}</time> in <span class="categories"> - {{ $x := .Site.baseUrl }} {{ range $i, $v := .Params.categories }} - <a class="category" href="{{ $x }}categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} + <a class="category" href="{{ relLangURL }}categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} {{ end }} </span> </div>