summaryrefslogtreecommitdiff
path: root/themes/PaperMod/layouts/shortcodes/inTextImg.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/PaperMod/layouts/shortcodes/inTextImg.html')
m---------themes/PaperMod0
-rw-r--r--themes/PaperMod/layouts/shortcodes/inTextImg.html5
2 files changed, 5 insertions, 0 deletions
diff --git a/themes/PaperMod b/themes/PaperMod
deleted file mode 160000
-Subproject 3a0a4811cbc07c0bea09ef55b3c1bfb39b48cdd
diff --git a/themes/PaperMod/layouts/shortcodes/inTextImg.html b/themes/PaperMod/layouts/shortcodes/inTextImg.html
new file mode 100644
index 0000000..0239fd6
--- /dev/null
+++ b/themes/PaperMod/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}}">