mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-25 12:01:37 +01:00
450e8867a6
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
6 lines
181 B
HTML
6 lines
181 B
HTML
{{- $Img := (.Get "url") }}
|
|
{{- $height := (.Get "height") }}
|
|
{{- $alt := (.Get "alt") }}
|
|
|
|
<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">
|