FIX image display

This commit is contained in:
Hoernschen 2024-06-20 12:36:26 +02:00
parent e385e4ee4d
commit 559cf1ef80
Signed by: hoernschen
GPG key ID: 37591FAF4E6D3462

View file

@ -21,7 +21,7 @@ caption: string
{{ $ext := path.Ext $url }}
{{ $name := path.Base (replace $url $ext "") }}
{{ $dir := path.Dir $url }}
{{ $mediaWidthControl := "(min-width: 1240px) 50px, 70vw" }}
{{ $mediaWidthControl := "(min-width: 1240px) 50vw, 70vw" }}
<a href="{{ $url }}">
<picture>