From 22c5a93eb6028ef7f905476c2ac4ce374023bf10 Mon Sep 17 00:00:00 2001 From: gaoyang Date: Sun, 25 Jun 2023 18:46:43 +0800 Subject: [PATCH] add document title suffix. --- components/NotionPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/NotionPage.tsx b/components/NotionPage.tsx index 3cbbe2bcdf..0daba5d2fb 100644 --- a/components/NotionPage.tsx +++ b/components/NotionPage.tsx @@ -210,7 +210,7 @@ export const NotionPage: React.FC = ({ return } - const title = getBlockTitle(block, recordMap) || site.name + const title = Array.from(new Set([getBlockTitle(block, recordMap), site.name])).filter(o=>o).join(' - ') console.log('notion page', { isDev: config.isDev,