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/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/LogoBar.js b/themes/Medium/components/LogoBar.js index 2643a269..c4fb5b1d 100644 --- a/themes/Medium/components/LogoBar.js +++ b/themes/Medium/components/LogoBar.js @@ -2,23 +2,13 @@ import BLOG from '@/blog.config' import Link from 'next/link' export default function LogoBar () { - // const { locale } = useGlobal() - return
{BLOG.TITLE} - {/* */} - {/* {locale.NAV.ABOUT} */} - {/* */}
- {/* {BLOG.CONTACT_EMAIL && */} - {/*
*/} - {/* */} - {/*
*/} - {/* } */}
}