From c7b914505b6505b013610cc71e3b50d68c4a5473 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 23 Aug 2022 13:41:41 -0700 Subject: Optimizations, Update Readme YellowLabTools --- templates/tinysearch_json.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'templates/tinysearch_json.html') diff --git a/templates/tinysearch_json.html b/templates/tinysearch_json.html index 638833f..37f83a1 100644 --- a/templates/tinysearch_json.html +++ b/templates/tinysearch_json.html @@ -1,2 +1,5 @@ {%- import "macros/create_tinysearch_json.html" as create_tinysearch_json -%} -[{{ create_tinysearch_json::from_section(section="_index.md") }}] \ No newline at end of file + +{%- if config.extra.search_library %}{%- if config.extra.search_library == "tinysearch" %} +[{{ create_tinysearch_json::from_section(section="_index.md", config=config) }}] +{%- endif %}{%- endif %} \ No newline at end of file -- cgit v1.3.1