FIX display of content and image of posts, FIX image in link list

This commit is contained in:
Hoernschen 2025-08-11 22:23:40 +02:00
parent 58274050ef
commit e03ec741e6
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462
3 changed files with 8 additions and 5 deletions

View file

@ -19,7 +19,7 @@
<div class="cardContent">
{{ if .image }}
{{ $style := "cardImage" }}
{{ if .Params.image.cover }}
{{ if .image.cover }}
{{ $style = "cardImage cover" }}
{{ end }}
{{- partial "components/image.html" (dict "style" $style "url" .image.url "alt" .image.alt) -}}