Skip to content

Commit

Permalink
Update packages/core/src/page/renderPageContent.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed May 11, 2023
1 parent c224ff5 commit 3ccf154
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: isString(frontmatter.title) ? frontmatter.title : title,
title: frontmatter.title ? `${frontmatter.title}` : title,
}
}

0 comments on commit 3ccf154

Please sign in to comment.