From 5bb810875b6c0fe94813c039774d2ac9292a6b87 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Wed, 1 Jan 2020 23:20:55 +0800 Subject: [PATCH] Moved search cache. --- _includes/search-loader.html | 2 +- search.json => assets/data/search.json | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename search.json => assets/data/search.json (100%) diff --git a/_includes/search-loader.html b/_includes/search-loader.html index cfa9133..3b21b8b 100644 --- a/_includes/search-loader.html +++ b/_includes/search-loader.html @@ -22,7 +22,7 @@ SimpleJekyllSearch({ searchInput: document.getElementById('search-input'), resultsContainer: document.getElementById('search-results'), - json: '{{ site.baseurl }}/search.json', + json: '{{ site.baseurl }}/assets/data/search.json', searchResultTemplate: '{{ result_elem }}', noResultsText: '{{ not_found }}' }); diff --git a/search.json b/assets/data/search.json similarity index 100% rename from search.json rename to assets/data/search.json