summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/inTextImg.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes/inTextImg.html')
-rw-r--r--layouts/shortcodes/inTextImg.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/shortcodes/inTextImg.html b/layouts/shortcodes/inTextImg.html
new file mode 100644
index 0000000..0239fd6
--- /dev/null
+++ b/layouts/shortcodes/inTextImg.html
@@ -0,0 +1,5 @@
+{{- $Img := (.Get "url") }}
+{{- $height := (.Get "height") }}
+{{- $alt := (.Get "alt") }}
+
+<img class="in-text" height="{{ $height | default `15` }}" src="{{$Img}}" alt="{{$alt}}">