aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/ins.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes/ins.html')
-rw-r--r--themes/default/layouts/shortcodes/ins.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/default/layouts/shortcodes/ins.html b/themes/default/layouts/shortcodes/ins.html
new file mode 100644
index 0000000..3c68f1f
--- /dev/null
+++ b/themes/default/layouts/shortcodes/ins.html
@@ -0,0 +1,3 @@
+{{- $text := default "inserted text" (.Get "text" | default (.Get 0)) -}}
+
+<ins title="{{ $text }}">{{ $text | markdownify }}</ins>