mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 18:00:06 +01:00
I love when people just change their function names, fix search
This commit is contained in:
parent
3ed018d959
commit
4b53e1d60b
@ -27,10 +27,11 @@ var siteNavigation = {
|
|||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
// init jekyll search
|
// init jekyll search
|
||||||
$searchfield.simpleJekyllSearch({
|
$searchfield.jekyllSearch({
|
||||||
searchResults : '.search-results',
|
searchResults : $searchresults,
|
||||||
searchResultsTitle : '',
|
searchResultsTitle : '',
|
||||||
template : '<a class="nav-link" href="{url}" title="{title}">{title}</a>',
|
template : '<a class="nav-link" href="{url}" title="{title}">{title}</a>',
|
||||||
|
fuzzy : true
|
||||||
});
|
});
|
||||||
|
|
||||||
// show search
|
// show search
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
"masonry": "http://masonry.desandro.com/masonry.pkgd.min.js",
|
"masonry": "http://masonry.desandro.com/masonry.pkgd.min.js",
|
||||||
"imagesloaded": ">=3.1.0",
|
"imagesloaded": ">=3.1.0",
|
||||||
"infinitescroll": "https://raw.github.com/paulirish/infinite-scroll/master/jquery.infinitescroll.js",
|
"infinitescroll": "https://raw.github.com/paulirish/infinite-scroll/master/jquery.infinitescroll.js",
|
||||||
"simpleJekyllSearch": "https://raw.github.com/christian-fei/Simple-Jekyll-Search/master/jekyll-search.js",
|
"simpleJekyllSearch": "https://raw.github.com/christian-fei/Simple-Jekyll-Search/master/jekyll-search.jquery.js",
|
||||||
"socialite": "https://raw.github.com/tmort/Socialite/master/socialite.js",
|
"socialite": "https://raw.github.com/tmort/Socialite/master/socialite.js",
|
||||||
"jquery.adaptive-background": "https://raw.github.com/briangonzalez/jquery.adaptive-backgrounds.js/master/src/jquery.adaptive-backgrounds.js"
|
"jquery.adaptive-background": "https://raw.github.com/briangonzalez/jquery.adaptive-backgrounds.js/master/src/jquery.adaptive-backgrounds.js"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user