diff --git a/themes/magzine/components/ArticleAround.js b/themes/magzine/components/ArticleAround.js deleted file mode 100644 index 95b6f83f..00000000 --- a/themes/magzine/components/ArticleAround.js +++ /dev/null @@ -1,32 +0,0 @@ -import Link from 'next/link' - -/** - * 上一篇,下一篇文章 - * @param {prev,next} param0 - * @returns - */ -export default function ArticleAround ({ prev, next }) { - if (!prev || !next) { - return <> - } - return ( -
- - - {prev.title} - - - - {next.title} - - - -
- ) -} diff --git a/themes/magzine/components/ArticleInfo.js b/themes/magzine/components/ArticleInfo.js index f41654b0..ba50b384 100644 --- a/themes/magzine/components/ArticleInfo.js +++ b/themes/magzine/components/ArticleInfo.js @@ -15,13 +15,13 @@ export default function ArticleInfo(props) { return ( <>
-
+
{siteConfig('MAGZINE_POST_LIST_CATEGORY') && ( )}
{siteConfig('MAGZINE_POST_LIST_TAG') && post?.tagItems?.map(tag => ( diff --git a/themes/magzine/components/Footer.js b/themes/magzine/components/Footer.js index 9cd2fa0f..c4e73f61 100644 --- a/themes/magzine/components/Footer.js +++ b/themes/magzine/components/Footer.js @@ -18,7 +18,9 @@ const Footer = ({ title }) => { const MAGZINE_FOOTER_LINKS = siteConfig('MAGZINE_FOOTER_LINKS', []) return ( -