hugo-PaperMod/layouts/shortcodes/inTextImg.html

5 lines
182 B
HTML
Raw Normal View History

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