hugo-WonderMod/layouts/shortcodes/inTextImg.html

6 lines
181 B
HTML
Raw Normal View History

{{- $Img := (.Get "url") }}
{{- $height := (.Get "height") }}
{{- $alt := (.Get "alt") }}
<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">