From 3616e9b6fa092faa415eaa9b47c4bd5e9d2f958c Mon Sep 17 00:00:00 2001 From: Marie Katrine Ekeberg Date: Thu, 15 Aug 2024 17:32:27 +0200 Subject: [PATCH] Add new custom local only JavaScript search to avoid google integration --- _includes/searchbox.html | 40 ++++++++++++++++++++++++++++++++++++++++ _layouts/default.html | 10 +--------- 2 files changed, 41 insertions(+), 9 deletions(-) create mode 100644 _includes/searchbox.html diff --git a/_includes/searchbox.html b/_includes/searchbox.html new file mode 100644 index 00000000..764a561a --- /dev/null +++ b/_includes/searchbox.html @@ -0,0 +1,40 @@ + + + diff --git a/_layouts/default.html b/_layouts/default.html index 710b6be8..78337601 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -128,15 +128,7 @@
- {% if paginator.page %} -
-
Search 🔍
- -
-
- {% endif %} - + {% include searchbox.html %} {{ content}}