File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ function getFrontMatter(page: NotionPage): string {
272272 if ( page . keywords ) frontmatter += `keywords: [${ page . keywords } ]\n` ;
273273 frontmatter += `last_edited: ${ ( page . metadata as any ) . last_edited_time as string } \n`
274274 // eslint-disable-next-line @typescript-eslint/restrict-template-expressions,@typescript-eslint/no-unsafe-return
275- frontmatter += `contributors: ${ ( page as any ) . metadata . properties . Contributors . rich_text . map ( ( ( x : any ) => x . text . link != undefined ? `[${ x . text . content } ](${ x . text . link . url } )` : x . text . content ) ) . join ( '' ) as string } \n` ;
275+ frontmatter += `contributors: " ${ ( page as any ) . metadata . properties . Contributors . rich_text . map ( ( ( x : any ) => x . text . link != undefined ? `[${ x . text . content } ](${ x . text . link . url } )` : x . text . content ) ) . join ( '' ) as string } " \n` ;
276276
277277 frontmatter += "---\n" ;
278278 return frontmatter ;
You can’t perform that action at this time.
0 commit comments