{/* 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..e48160cb 100644 --- a/themes/matery/components/HeaderArticle.js +++ b/themes/matery/components/HeaderArticle.js @@ -2,12 +2,18 @@ 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 */} {title}