From a0a3f38ebd62692795cd31bf9ea1f1473caf6a2a Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 23 Sep 2024 17:45:31 +0100 Subject: [PATCH] dropdown filter --- layouts/shortcodes/dropdown_filter.html | 27 +++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 layouts/shortcodes/dropdown_filter.html diff --git a/layouts/shortcodes/dropdown_filter.html b/layouts/shortcodes/dropdown_filter.html new file mode 100644 index 0000000..c5ec0e4 --- /dev/null +++ b/layouts/shortcodes/dropdown_filter.html @@ -0,0 +1,27 @@ +{{ $id := .Get "id" }} +{{ $default_selection := .Get "default_selection" }} +{{ $options := .Get "options" }} + +{{ $options_split := split $options "," }} + +