hugo-theme-wondermod/layouts/shortcodes/inTextImg.html

6 lines
181 B
HTML
Raw Permalink Normal View History

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