diff --git a/themes/Medium/LayoutCategory.js b/themes/Medium/LayoutCategory.js index 3a4bb0e9..caa5c5a8 100644 --- a/themes/Medium/LayoutCategory.js +++ b/themes/Medium/LayoutCategory.js @@ -1,8 +1,8 @@ import LayoutBase from './LayoutBase' +import BlogPostListPage from './components/BlogPostListPage' export const LayoutCategory = (props) => { - const { category } = props return - Category - {category} + } diff --git a/themes/Medium/LayoutSlug.js b/themes/Medium/LayoutSlug.js index 015e6d29..c0dd5a93 100644 --- a/themes/Medium/LayoutSlug.js +++ b/themes/Medium/LayoutSlug.js @@ -60,7 +60,7 @@ export const LayoutSlug = (props) => { return

{post?.title}

-
+
<> {
{date}
-
+ {/* Notion文章主体 */}
{post.blockMap && ( @@ -102,10 +102,10 @@ export const LayoutSlug = (props) => { data-ad-client="ca-pub-2708419466378217" data-ad-slot="3806269138"/>
-
+
-
+
} diff --git a/themes/Medium/LayoutTag.js b/themes/Medium/LayoutTag.js index 5cfacb20..d0d5b556 100644 --- a/themes/Medium/LayoutTag.js +++ b/themes/Medium/LayoutTag.js @@ -1,8 +1,8 @@ import LayoutBase from './LayoutBase' +import BlogPostListPage from './components/BlogPostListPage' export const LayoutTag = (props) => { - const { tag } = props return - Tag - {tag} + } diff --git a/themes/Medium/components/Footer.js b/themes/Medium/components/Footer.js index 57ad7797..d9aac814 100644 --- a/themes/Medium/components/Footer.js +++ b/themes/Medium/components/Footer.js @@ -9,7 +9,7 @@ const Footer = ({ title }) => { const startYear = BLOG.SINCE && BLOG.SINCE !== currentYear && BLOG.SINCE + '-' return (