cullmann.io/themes/PaperMod/layouts/shortcodes/inTextImg.html

6 lines
181 B
HTML

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