jekyll-lunr-js-search-plusplus 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll_lunr_js_search/indexer.rb +1 -1
- data/lib/jekyll_lunr_js_search/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 318d8467c5b7e59ce23207980d0aacddbebb3ef9
|
4
|
+
data.tar.gz: caa395e5a99ee3e6243b5b6715aa909bcacf18b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dca892d61d9cf48b208a8e7e51f8851d64f7de25e294514978ba8ebdd02f5139bb1272e479ce552701bf0f11449cdd16a05f6fbca20b9f12fb06db70fd9c793f
|
7
|
+
data.tar.gz: 599b7448c47d1748c86f654b80dc848eee41fcc07be5077550e0b927cfc1c301f79beb86cfb6fd03e9f460d3843553b8687d6f0c47f59b4d828f68d9a7a958fe
|
@@ -37,7 +37,7 @@ module Jekyll
|
|
37
37
|
# Index all pages except pages matching any value in config['lunr_excludes'] or with date['exclude_from_search']
|
38
38
|
# The main content from each page is extracted and saved to disk as json
|
39
39
|
def generate(site)
|
40
|
-
search_json_location = File.
|
40
|
+
search_json_location = File.expand_path("search/search.json", site.source)
|
41
41
|
|
42
42
|
if @dev_mode && File.exist?(search_json_location)
|
43
43
|
search_json = JSON.parse(File.open(search_json_location).read)
|