aboutsummaryrefslogtreecommitdiff
path: root/templates/tinysearch_json.html
diff options
context:
space:
mode:
authorJieiku2022-08-23 13:41:41 -0700
committerJieiku2022-08-23 13:41:41 -0700
commitc7b914505b6505b013610cc71e3b50d68c4a5473 (patch)
treed2abebfa75cedd1b7351b51f9d5c909834e8d05d /templates/tinysearch_json.html
parent6e6c0cbbb5d6136788d35ee5a354d36079c3475a (diff)
downloadabridge-c7b914505b6505b013610cc71e3b50d68c4a5473.tar.gz
abridge-c7b914505b6505b013610cc71e3b50d68c4a5473.tar.bz2
abridge-c7b914505b6505b013610cc71e3b50d68c4a5473.zip
Optimizations, Update Readme YellowLabTools
Diffstat (limited to 'templates/tinysearch_json.html')
-rw-r--r--templates/tinysearch_json.html5
1 files changed, 4 insertions, 1 deletions
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