From ae7875601ed8b5af7ea5ae8b8f62a3dbd6f12605 Mon Sep 17 00:00:00 2001 From: ionous Date: Mon, 10 Jun 2024 14:36:20 -0700 Subject: [PATCH] search prototype - uses minisearch https://github.com/lucaong/minisearch for client side filtering of event data on the /calendar page - tweaks mustache generated html so that the "data-event-id" is "caldaily_id" ( was event listing id ) - tweaks the mustache getEventHTML() , moving "set page title for specific id" to the caller that needed it. --- .../layouts/partials/cal/events.html | 9 ++- .../s2b_hugo_theme/static/js/cal/main.js | 80 +++++++++++++------ 2 files changed, 61 insertions(+), 28 deletions(-) diff --git a/site/themes/s2b_hugo_theme/layouts/partials/cal/events.html b/site/themes/s2b_hugo_theme/layouts/partials/cal/events.html index 9ea0cedc..4d32941f 100644 --- a/site/themes/s2b_hugo_theme/layouts/partials/cal/events.html +++ b/site/themes/s2b_hugo_theme/layouts/partials/cal/events.html @@ -1,6 +1,6 @@ - + @@ -15,6 +15,7 @@ +