fix gitbook build

This commit is contained in:
tangly1024
2023-07-08 13:20:20 +08:00
parent 10199ed983
commit 0cc92c26a4
6 changed files with 23 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ const BlogPostCard = ({ post, className }) => {
<div key={post.id} className={`${className} py-1 cursor-pointer px-2 hover:bg-gray-50 rounded-md dark:hover:bg-gray-600 ${currentSelected ? 'bg-green-50 text-green-500' : ''}`}>
<div className="flex flex-col w-full">
<Link href={`${BLOG.SUB_PATH}/${post.slug}`} passHref>
{post.title}
<a>{post.title}</a>
</Link>
</div>
</div>