From e983f4e1d2ff5c11a10c9a4be3047ab4f4d7e519 Mon Sep 17 00:00:00 2001 From: khalilcodes Date: Fri, 3 Feb 2023 18:41:50 +0300 Subject: [PATCH] [pkg/template,#163][xs]: fix show comments prop --- packages/template/pages/_app.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/template/pages/_app.tsx b/packages/template/pages/_app.tsx index ecb49f8eb..48595f2f3 100644 --- a/packages/template/pages/_app.tsx +++ b/packages/template/pages/_app.tsx @@ -25,7 +25,7 @@ function MyApp({ Component, pageProps }) { const showComments = pageProps.showComments ?? siteConfig?.comments?.pages?.includes(pageProps._raw?.sourceFileDir) ?? - true; + false; // TODO maybe use computed fields for showEditLink and showToc to make this even cleaner? const layoutProps = {