{/* Notion文章主体 */} - + {post && } @@ -92,7 +105,13 @@ export const LayoutSlug = props => { {post.type === 'Post' && } {post?.toc?.length > 0 && - + diff --git a/themes/matery/components/HeaderArticle.js b/themes/matery/components/HeaderArticle.js index f7c7379d..4b0b2a20 100644 --- a/themes/matery/components/HeaderArticle.js +++ b/themes/matery/components/HeaderArticle.js @@ -2,7 +2,13 @@ export default function HeaderArticle({ post, siteInfo }) { const headerImage = post?.page_cover ? post?.page_cover : siteInfo?.pageCover const title = post?.title return ( - + {/* eslint-disable-next-line @next/next/no-img-element */}