From 09c85d53a6c5e7ee525233b9944cd3ea53da3f10 Mon Sep 17 00:00:00 2001 From: Lyon Liu Date: Thu, 25 Jan 2024 19:10:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dnav=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E4=B8=8Bcategory=E5=92=8Ctag=E4=B8=8B=E6=96=87=E7=AB=A0?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E4=B8=8D=E5=AF=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/nav/components/BlogPostCard.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/nav/components/BlogPostCard.js b/themes/nav/components/BlogPostCard.js index e9567d76..73622062 100755 --- a/themes/nav/components/BlogPostCard.js +++ b/themes/nav/components/BlogPostCard.js @@ -1,13 +1,14 @@ import Link from 'next/link' import NotionIcon from './NotionIcon' import { useRouter } from 'next/router' +import { siteConfig } from '@/lib/config' const BlogPostCard = ({ post, className }) => { const router = useRouter() const currentSelected = router.asPath.split('?')[0] === '/' + post.slug const pageIcon = post.pageIcon.indexOf('amazonaws.com') !== -1 ? post.pageIcon + '&width=88' : post.pageIcon return ( - +