mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-08-05 22:58:24 +00:00
Added search with Tipue Search
This commit is contained in:
21
static/js/tipuesearch_set.js
Normal file
21
static/js/tipuesearch_set.js
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
/*
|
||||
Tipue Search 4.0
|
||||
Copyright (c) 2014 Tipue
|
||||
Tipue Search is released under the MIT License
|
||||
http://www.tipue.com/search
|
||||
*/
|
||||
|
||||
|
||||
var tipuesearch_stop_words = ["and", "be", "by", "do", "for", "he", "how", "if", "is", "it", "my", "not", "of", "or", "the", "to", "up", "what", "when"];
|
||||
|
||||
var tipuesearch_replace = {"words": [
|
||||
{"word": "tipua", "replace_with": "tipue"},
|
||||
{"word": "javscript", "replace_with": "javascript"}
|
||||
]};
|
||||
|
||||
var tipuesearch_stem = {"words": [
|
||||
{"word": "e-mail", "stem": "email"},
|
||||
{"word": "javascript", "stem": "js"}
|
||||
]};
|
||||
|
Reference in New Issue
Block a user