From c263396e6618a7a46ea3fd889d9a016d51317160 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 15 Jan 2022 22:17:19 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/page/[page].js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/page/[page].js b/pages/page/[page].js index 071f7185..5ed48e0f 100644 --- a/pages/page/[page].js +++ b/pages/page/[page].js @@ -2,8 +2,12 @@ import BLOG from '@/blog.config' import { getPostBlocks } from '@/lib/notion' import { getGlobalNotionData } from '@/lib/notion/getNotionData' import { LayoutPage } from '@/themes' +import Custom404 from '@/pages/404' const Page = (props) => { + if (!props?.meta) { + return + } return }