From 90c8df31217bfb4a6111be14f802250859d6bf36 Mon Sep 17 00:00:00 2001 From: Vamsi Krishna Date: Tue, 13 Jul 2021 14:36:17 +0530 Subject: [PATCH] shortcodes: audio (#9) --- layouts/shortcodes/audio.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 layouts/shortcodes/audio.html diff --git a/layouts/shortcodes/audio.html b/layouts/shortcodes/audio.html new file mode 100644 index 0000000..0f895ff --- /dev/null +++ b/layouts/shortcodes/audio.html @@ -0,0 +1,19 @@ +{{ $src := .Get 0 }} +{{ $split_src := split $src "." }} +{{ $extension := index $split_src (sub (len $split_src) 1) }} + +