mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-20 15:09:40 +00:00
subPath
This commit is contained in:
@@ -8,7 +8,7 @@ const BlogPostCard = ({ post, className }) => {
|
||||
return (
|
||||
<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 select-none">
|
||||
<Link href={`${siteConfig('SUB_PATH')}/${post.slug}`} passHref>
|
||||
<Link href={`${siteConfig('SUB_PATH', '')}/${post.slug}`} passHref>
|
||||
{post.title}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user