From f3794522f8ca3a6fa43310c028579fb33effe7a5 Mon Sep 17 00:00:00 2001 From: paspo Date: Sat, 20 Jul 2024 08:14:47 +0200 Subject: [PATCH] incrociamo le dita --- layouts/_default/single.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7a4d32f..66176bd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -11,6 +11,7 @@ {{- if or .Params.image .Params.featured }} {{- $maxHeight := 600 -}} + {{- $ratio := 2.33 -}} {{ $rasters := slice "jpeg" "png" }} {{- $img := "#" -}} @@ -29,7 +30,7 @@ {{- if gt $img.Height $maxHeight -}} {{- $img = $img.Resize (printf "x%d webp q50" $maxHeight) -}} {{- end -}} - {{ .Params.image_alt }} + {{ .Params.image_alt }} {{ else }} {{ .Params.image_alt }} {{ end }} -- 2.45.2