another possible fix

This commit is contained in:
Stephan Hadan 2025-02-11 14:27:37 +01:00
parent 7c4260453d
commit a83ff7ab6f

View file

@ -13,11 +13,11 @@
<div class="postmeta">Geschrieben am <time datetime='{{ .Date | time.Format ":date_long" }}' pubdate="">{{ .Date | time.Format ":date_long" }}</time> in <div class="postmeta">Geschrieben am <time datetime='{{ .Date | time.Format ":date_long" }}' pubdate="">{{ .Date | time.Format ":date_long" }}</time> in
<span class="categories"> <span class="categories">
{{ range $i, $v := .Params.categories }} {{ range $i, $v := .Params.categories }}
<a class="category" href="categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }} <a class="category" href="{{ baseUrl }}categories/{{ $v | urlize }}">{{ $v }}</a>{{ if ne (len $.Params.categories) (add $i 1) }}, {{ end }}
{{ end }} {{ end }}
</span> </span>
</div> </div>
<p> <p>
{{ .Content }} {{ .Content }}
</p> </p>