Skip to content

Commit

Permalink
fix(core): ensure page.title isString (close #1306) (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 11, 2023
1 parent bebadea commit 644b406
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/page/renderPageContent.ts
Expand Up @@ -74,6 +74,6 @@ export const renderPageContent = ({
'frontmatter'
),
sfcBlocks,
title: frontmatter.title ?? title,
title: frontmatter.title ? `${frontmatter.title}` : title,
}
}

0 comments on commit 644b406

Please sign in to comment.