commit
25e09dfe07
1 changed files with 2 additions and 0 deletions
|
|
@ -87,6 +87,8 @@ function search (keywords) {
|
|||
var postTitle = post.title && post.title.trim();
|
||||
var postContent = post.body && post.body.trim();
|
||||
var postUrl = post.slug || '';
|
||||
|
||||
postContent = postContent.replace(/!\[.*\]\((.+)\)/g,'');
|
||||
|
||||
if (postTitle && postContent) {
|
||||
keywords.forEach(function (keyword, i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue