We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
case 'PAGES': $searchItems = array.map(function (item) { // Use config.root instead of permalink to fix url issue if (CONFIG.ROOT_URL == "/") { return searchItem('file', item.title, null, item.text.slice(0, 150), item.path); } return searchItem('file', item.title, null, item.text.slice(0, 150), CONFIG.ROOT_URL + item.path); }); break;
The text was updated successfully, but these errors were encountered:
@wwwrrrrr123 辛苦老哥提个PR吧,感谢
Sorry, something went wrong.
No branches or pull requests
case 'PAGES':
$searchItems = array.map(function (item) {
// Use config.root instead of permalink to fix url issue
if (CONFIG.ROOT_URL == "/") {
return searchItem('file', item.title, null, item.text.slice(0, 150), item.path);
}
return searchItem('file', item.title, null, item.text.slice(0, 150), CONFIG.ROOT_URL + item.path);
});
break;
The text was updated successfully, but these errors were encountered: