mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00

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