better search, fix spacing support, bump hugo-obsidian
This commit is contained in:
parent
82ba843e42
commit
48eb9ebc5f
8 changed files with 9 additions and 9 deletions
|
@ -185,8 +185,8 @@
|
|||
return [...results[0].result]
|
||||
}
|
||||
}
|
||||
const allIds = [...getByField('title'), ...getByField('content')]
|
||||
const finalResults = allIds.map(fetch)
|
||||
const allIds = new Set([...getByField('title'), ...getByField('content')])
|
||||
const finalResults = [...allIds].map(fetch)
|
||||
|
||||
// display
|
||||
if (finalResults.length === 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue