fukasawa theme

This commit is contained in:
tangly1024.com
2023-07-04 17:42:09 +08:00
parent c4f4156f7f
commit 900d1c847b
18 changed files with 245 additions and 279 deletions

View File

@@ -1,4 +1,5 @@
import BLOG, { LINK } from '@/blog.config'
import BLOG from '@/blog.config'
import Link from 'next/link'
/**
* 按照日期将文章分组
@@ -20,17 +21,12 @@ export default function BlogListGroupByDate({ archiveTitle, archivePosts }) {
>
<div id={post?.publishTime}>
<span className="text-gray-400">
{post.date?.start_date}
{post?.publishTime}
</span>{' '}
&nbsp;
<LINK
href={`${BLOG.SUB_PATH}/${post.slug}`}
passHref
className="dark:text-gray-400 dark:hover:text-gray-300 overflow-x-hidden hover:underline cursor-pointer text-gray-600">
<Link href={`${BLOG.SUB_PATH}/${post.slug}`} className="dark:text-gray-400 dark:hover:text-gray-300 overflow-x-hidden hover:underline cursor-pointer text-gray-600">
{post.title}
</LINK>
</Link>
</div>
</li>
))}