From 184b790cb2f699fc4ff7a67193673510d4006ffb Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 3 Feb 2023 17:26:50 +0800 Subject: [PATCH] Matery - BlogCard --- themes/matery/components/ArticleAdjacent.js | 6 +++--- themes/medium/components/BlogPostCard.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/matery/components/ArticleAdjacent.js b/themes/matery/components/ArticleAdjacent.js index 0a9e00c4..365f0884 100644 --- a/themes/matery/components/ArticleAdjacent.js +++ b/themes/matery/components/ArticleAdjacent.js @@ -6,14 +6,14 @@ import BlogPostCard from './BlogPostCard' * @param {prev,next} param0 * @returns */ -export default function ArticleAdjacent ({ prev, next }) { +export default function ArticleAdjacent ({ prev, next, siteInfo }) { if (!prev || !next || !CONFIG_MATERY.ARTICLE_ADJACENT) { return <> } return
- - + +
} diff --git a/themes/medium/components/BlogPostCard.js b/themes/medium/components/BlogPostCard.js index 643cd13e..01770969 100644 --- a/themes/medium/components/BlogPostCard.js +++ b/themes/medium/components/BlogPostCard.js @@ -70,7 +70,7 @@ const BlogPostCard = ({ post, showSummary }) => { )} - ); + ) } export default BlogPostCard