limita comunque l'altezza
This commit is contained in:
parent
2b3da2c569
commit
ffe324bca1
@ -29,7 +29,7 @@
|
||||
{{- $img = $img.Resize (printf "x%d" $maxHeight) -}}
|
||||
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" style="width: {{ $img.Width }}px; max-height: {{ $maxHeight }}px;" />
|
||||
{{ else }}
|
||||
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" />
|
||||
<img src="{{ $img.RelPermalink }}" alt="{{ .Params.image_alt }}" style="max-height: {{ $maxHeight }}px;" />
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user