mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-15 07:26:48 +00:00
Merge pull request #2219 from tangly1024/fix/globalhead-site-title
fix global head title
This commit is contained in:
@@ -118,7 +118,7 @@ const getSEOMeta = (props, router, global) => {
|
||||
}
|
||||
case '/category/[category]':
|
||||
return {
|
||||
title: `${category} | ${locale.COMMON.CATEGORY} | ${siteInfo?.title} || ''}`,
|
||||
title: `${category} | ${locale.COMMON.CATEGORY} | ${siteInfo?.title}`,
|
||||
description: `${siteInfo?.description}`,
|
||||
slug: 'category/' + category,
|
||||
image: `${siteInfo?.pageCover}`,
|
||||
@@ -126,7 +126,7 @@ const getSEOMeta = (props, router, global) => {
|
||||
}
|
||||
case '/category/[category]/page/[page]':
|
||||
return {
|
||||
title: `${category} | ${locale.COMMON.CATEGORY} | ${siteInfo?.title} || ''}`,
|
||||
title: `${category} | ${locale.COMMON.CATEGORY} | ${siteInfo?.title}`,
|
||||
description: `${siteInfo?.description}`,
|
||||
slug: 'category/' + category,
|
||||
image: `${siteInfo?.pageCover}`,
|
||||
|
||||
Reference in New Issue
Block a user