From 547a2742003c9e28137cfa4eddc831f2d4a97180 Mon Sep 17 00:00:00 2001 From: Andy Damevin Date: Wed, 21 Feb 2024 18:37:42 +0100 Subject: [PATCH] Use qs web component --- _config_dev.yml | 12 +++--------- _layouts/base.html | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/_config_dev.yml b/_config_dev.yml index ef5d863d25..13d6a95678 100755 --- a/_config_dev.yml +++ b/_config_dev.yml @@ -3,14 +3,8 @@ # We don't want to use the production instance of search.quarkus.io for development. search: -# Use this to directly use the local instance of search.quarkus.io - script-mode: "direct" +# Use "direct" to directly use the local instance of search.quarkus.io +# Use "cached" to use a local copy of the search script + script-mode: "cached" host: "http://localhost:8080" -# Use this to copy from the local instance of search.quarkus.io -# script_mode: "cached" - - -# Use this to copy from the production instance of search.quarkus.io -# script_mode: "cached" -# host: "https://search.quarkus.io/" diff --git a/_layouts/base.html b/_layouts/base.html index 1e470a7c04..06e612bcb4 100755 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -23,7 +23,7 @@ {% assign search_script = site.search.host | append: site.search.script-path %} {% assign search_script_src = search_script %} {% else %} - {% assign search_script_src = site.search.cached_script_file | relative_url %} + {% assign search_script_src = site.search.cached-script-file | relative_url %} {% endif %} {% endif %}