mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +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:
parent
575b0b0e38
commit
450e8867a6
@ -2,4 +2,4 @@
|
|||||||
{{- $height := (.Get "height") }}
|
{{- $height := (.Get "height") }}
|
||||||
{{- $alt := (.Get "alt") }}
|
{{- $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}}">
|
||||||
|
Loading…
Reference in New Issue
Block a user