summaryrefslogtreecommitdiff
path: root/templates/shortcodes/aside.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shortcodes/aside.html')
-rw-r--r--templates/shortcodes/aside.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/shortcodes/aside.html b/templates/shortcodes/aside.html
new file mode 100644
index 0000000..ca337f9
--- /dev/null
+++ b/templates/shortcodes/aside.html
@@ -0,0 +1,5 @@
+{%- set text = text | default(value=body) -%}
+
+<aside {% if position %}data-position="{{ position }}"{% endif %}>
+ {{ text | markdown | safe }}
+</aside>