hugo-WonderMod/layouts/shortcodes/inTextImg.html
Aditya Telange 450e8867a6
Update inTextImg.html
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
2022-07-17 00:19:07 +05:30

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}}">