From 58290c8ad183b5887b96f5dd557f244af8318041 Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 20 Apr 2022 19:20:33 -0500 Subject: [PATCH] Create new file shortcode for raw script/data insertion in posts --- layouts/shortcodes/file.html | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 layouts/shortcodes/file.html diff --git a/layouts/shortcodes/file.html b/layouts/shortcodes/file.html new file mode 100644 index 0000000..db49f03 --- /dev/null +++ b/layouts/shortcodes/file.html @@ -0,0 +1,2 @@ +{{ $file := .Get 0}} +{{ $file | readFile | safeHTML }} \ No newline at end of file