diff --git a/themes/example/components/Title.js b/themes/example/components/Title.js index 4308611a..73ca9d7f 100644 --- a/themes/example/components/Title.js +++ b/themes/example/components/Title.js @@ -10,7 +10,6 @@ export const Title = (props) => { const { post } = props const title = post?.title || siteConfig('TITLE') const description = post?.description || siteConfig('AUTHOR') - console.log('post', post) return

{title}

diff --git a/themes/gitbook/components/BlogPostCard.js b/themes/gitbook/components/BlogPostCard.js index a177b700..891e3ea7 100644 --- a/themes/gitbook/components/BlogPostCard.js +++ b/themes/gitbook/components/BlogPostCard.js @@ -2,6 +2,7 @@ import { siteConfig } from '@/lib/config' import Link from 'next/link' import { useRouter } from 'next/router' import { checkContainHttp, sliceUrlFromHttp } from '@/lib/utils' +import NotionIcon from '@/components/NotionIcon' const BlogPostCard = ({ post, className }) => { const router = useRouter() @@ -9,8 +10,8 @@ const BlogPostCard = ({ post, className }) => { const url = checkContainHttp(post.slug) ? sliceUrlFromHttp(post.slug) : `${siteConfig('SUB_PATH', '')}/${post.slug}` return (
-
- {post.title} +
+ {post.title}
diff --git a/themes/gitbook/components/MenuItemDrop.js b/themes/gitbook/components/MenuItemDrop.js index 6c197700..572c9b22 100644 --- a/themes/gitbook/components/MenuItemDrop.js +++ b/themes/gitbook/components/MenuItemDrop.js @@ -11,7 +11,6 @@ export const MenuItemDrop = ({ link }) => { } const hasSubMenu = link?.subMenus?.length > 0 const selected = (router.pathname === link.to) || (router.asPath === link.to) - console.log('link', link?.to) return
  • changeShow(true)} onMouseOut={() => changeShow(false)} > {hasSubMenu &&