From 9c14e95be8bd747230e0d802024ac5ec0628ddfd Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 9 Apr 2022 09:08:38 -0700 Subject: [PATCH] Add audio shortcode --- layouts/shortcodes/audio.html | 5 +++++ 1 file changed, 5 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..dfc0dc0 --- /dev/null +++ b/layouts/shortcodes/audio.html @@ -0,0 +1,5 @@ +{{ $id := .Get "id" }} +{{ $mp3 := (.Page.Resources.GetMatch (.Get "mp3")) }} + \ No newline at end of file