mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
prevent search.json from loading by default
This commit is contained in:
parent
29c05377c9
commit
0dba92b940
@ -23,16 +23,16 @@ var siteNavigation = {
|
||||
$searchresults = $('.search-results'),
|
||||
$searchpop = $('.popover');
|
||||
|
||||
// init jekyll search
|
||||
$searchfield.simpleJekyllSearch({
|
||||
searchResults : '.search-results',
|
||||
searchResultsTitle : '',
|
||||
template : '<a class="nav-link" href="{url}" title="{title}">{title}</a>',
|
||||
});
|
||||
|
||||
$searchlink.click(function(e){
|
||||
e.preventDefault();
|
||||
|
||||
// init jekyll search
|
||||
$searchfield.simpleJekyllSearch({
|
||||
searchResults : '.search-results',
|
||||
searchResultsTitle : '',
|
||||
template : '<a class="nav-link" href="{url}" title="{title}">{title}</a>',
|
||||
});
|
||||
|
||||
// show search
|
||||
$searcharea.addClass('ready');
|
||||
$searchfield.focus();
|
||||
|
@ -153,6 +153,8 @@
|
||||
@media @breakpoint2 {
|
||||
width: 50%;
|
||||
float: left;
|
||||
font-size: .85em;
|
||||
line-height: 1.3em
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user