mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2026-10-28 12:01:26 +01:00
Update inTextImg.html
Fix Bad value 15px for attribute height on element img: Expected a digit but saw p instead.
This commit is contained in:
1 parent
575b0b0e38
commit
450e8867a6
1 file changed
+1
-1
@@ -2,4 +2,4 @@
|
||||
{{- $height := (.Get "height") }}
|
||||
{{- $alt := (.Get "alt") }}
|
||||
|
||||
<img class="in-text" height="{{ $height | default `15px` }}" src="{{$Img}}" alt="{{$alt}}">
|
||||
<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">
|
||||
Reference in new issue
Block a user