diff --git a/src/assetParsers/block.ts b/src/assetParsers/block.ts index e9e63a71a..2b51a4619 100644 --- a/src/assetParsers/block.ts +++ b/src/assetParsers/block.ts @@ -169,8 +169,9 @@ async function parseBlockAsset(opts: { // support locale prefix for title & description ['description', 'title'].forEach((key) => { - frontmatter[key] ||= - frontmatter[`${key}.${opts.fileLocale}`]; + frontmatter[key] = + frontmatter[`${key}.${opts.fileLocale}`] || + frontmatter[key]; }); result.frontmatter = frontmatter;