feat: Make any property of frontmatter a display name (#329)
This commit is contained in:
@@ -46,6 +46,7 @@ export type DocumentRef = { path: string; mtime: number }
|
||||
export type IndexedDocument = {
|
||||
path: string
|
||||
basename: string
|
||||
displayTitle: string
|
||||
mtime: number
|
||||
|
||||
content: string
|
||||
@@ -76,6 +77,7 @@ export type ResultNote = {
|
||||
score: number
|
||||
path: string
|
||||
basename: string
|
||||
displayTitle: string
|
||||
content: string
|
||||
foundWords: string[]
|
||||
matches: SearchMatch[]
|
||||
|
||||
Reference in New Issue
Block a user