diff --git a/themes/matery/LayoutSlug.js b/themes/matery/LayoutSlug.js index 48d94605..c0fbc63c 100644 --- a/themes/matery/LayoutSlug.js +++ b/themes/matery/LayoutSlug.js @@ -63,54 +63,60 @@ export const LayoutSlug = props => { floatSlot={floatSlot} > -
-
- {lock && } +
+
+
+ {lock && } - {!lock &&
- {post?.type === 'Post' && <> -
- -
+ {!lock &&
+ {post?.type === 'Post' && <> +
+ +
+
+ } -
- } +
+
+ {/* Notion文章主体 */} +
+ {post && } +
-
- {/* Notion文章主体 */} -
- {post && } -
+
+ {/* 文章内嵌广告 */} + +
-
- {/* 文章内嵌广告 */} - -
+ {post.type === 'Post' && } - {post.type === 'Post' && } +
-
+
-
+ {/* 评论互动 */} +
+ +
+
- {/* 评论互动 */} -
- -
-
} +
} +
+ {post.type === 'Post' && }
- {post.type === 'Post' && } -
- {show &&
- -
} +
+
+ {show && } +
+
+
diff --git a/themes/matery/components/Catalog.js b/themes/matery/components/Catalog.js index 0f4e6db6..3104e338 100644 --- a/themes/matery/components/Catalog.js +++ b/themes/matery/components/Catalog.js @@ -58,7 +58,7 @@ const Catalog = ({ toc }) => { return <> } - return
+ return
目录