aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/shortcodes/footer.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/shortcodes/footer.html')
-rw-r--r--themes/default/layouts/shortcodes/footer.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/themes/default/layouts/shortcodes/footer.html b/themes/default/layouts/shortcodes/footer.html
new file mode 100644
index 0000000..579913d
--- /dev/null
+++ b/themes/default/layouts/shortcodes/footer.html
@@ -0,0 +1,7 @@
+{{- $text := default "Block Quote" (.Get "text" | default (.Get 0)) -}}
+
+{{- if gt (len .Inner) 1 -}}
+ {{ $text = .Inner }}
+{{- end -}}
+
+<span>{{ $text | markdownify }}</span>