fix singleview con featured svg #102

Merged
paspo merged 2 commits from paspo/bglug.it:fix_single_svg into main 2024-07-14 09:16:07 +00:00
Showing only changes of commit ffe324bca1 - Show all commits

View File

@ -29,7 +29,7 @@
{{- $img = $img.Resize (printf "x%d" $maxHeight) -}} {{- $img = $img.Resize (printf "x%d" $maxHeight) -}}
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" style="width: {{ $img.Width }}px; max-height: {{ $maxHeight }}px;" /> <img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" style="width: {{ $img.Width }}px; max-height: {{ $maxHeight }}px;" />
{{ else }} {{ else }}
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" /> <img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" style="max-height: {{ $maxHeight }}px;" />
{{ end }} {{ end }}
</span> </span>
{{ end }} {{ end }}