mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-14 23:24:29 -04:00

Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
5 lines
181 B
HTML
5 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}}">
|