aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-05-12 00:02:03 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-05-12 00:02:03 +0200
commit37f1e779e870276123a8f8af1c12ed5045c80553 (patch)
tree1f6ddaa00651cb50228d038409cadf144c8bc203 /templates
parentd3cf86676f8acb0a4b2919a858cacbb256378e73 (diff)
downloadblog-37f1e779e870276123a8f8af1c12ed5045c80553.tar.gz
blog-37f1e779e870276123a8f8af1c12ed5045c80553.zip
added markdown shortcode to include files into markdown
Diffstat (limited to 'templates')
-rw-r--r--templates/shortcodes/include.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/shortcodes/include.md b/templates/shortcodes/include.md
new file mode 100644
index 0000000..4fd692c
--- /dev/null
+++ b/templates/shortcodes/include.md
@@ -0,0 +1,2 @@
+{% set data = load_data(path=path) %}
+{{ data }}