mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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