From 830cabab1f638052a8c4ac39eb86370da5a676eb Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 14 Aug 2022 12:41:15 -0700 Subject: Alternate Search Libraries Tinysearch and Stork --- content/overview-code-blocks.md | 4 ++-- content/static/stork_toml.md | 4 ++++ content/static/tinysearch_json.md | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 content/static/stork_toml.md create mode 100644 content/static/tinysearch_json.md (limited to 'content') diff --git a/content/overview-code-blocks.md b/content/overview-code-blocks.md index 05a9e9b..ee524aa 100644 --- a/content/overview-code-blocks.md +++ b/content/overview-code-blocks.md @@ -83,8 +83,8 @@ function goSearch() {// on enter key or search icon click display results to the window.main || (window.main = e.innerHTML); var t = document.getElementById("suggestions"), n = ((ResultsClone = t.cloneNode(!0)).id = "results", document.createElement("div")), - o = '

Results For: '.concat(document.getElementById("userinput").value, "

"); - return n.innerHTML = o, ResultsClone.insertBefore(n, ResultsClone.firstChild), e.innerHTML = ResultsClone.outerHTML, t.innerHTML = "", document.getElementById("userinput").value = "", !1 + o = '

Results For: '.concat(document.getElementById("searchinput").value, "

"); + return n.innerHTML = o, ResultsClone.insertBefore(n, ResultsClone.firstChild), e.innerHTML = ResultsClone.outerHTML, t.innerHTML = "", document.getElementById("searchinput").value = "", !1 }! function() { // search function code goes here } diff --git a/content/static/stork_toml.md b/content/static/stork_toml.md new file mode 100644 index 0000000..a56dc03 --- /dev/null +++ b/content/static/stork_toml.md @@ -0,0 +1,4 @@ ++++ +path = "data_stork" +template = "stork_toml.html" ++++ \ No newline at end of file diff --git a/content/static/tinysearch_json.md b/content/static/tinysearch_json.md new file mode 100644 index 0000000..2edbcd2 --- /dev/null +++ b/content/static/tinysearch_json.md @@ -0,0 +1,4 @@ ++++ +path = "data_tinysearch" +template = "tinysearch_json.html" ++++ \ No newline at end of file -- cgit v1.3.1