This commit is contained in:
tangly1024.com
2023-11-06 16:28:01 +08:00
parent ecf7825dad
commit a0b481eaca
137 changed files with 326 additions and 383 deletions

View File

@@ -1,9 +1,9 @@
import Link from 'next/link'
import BLOG from '@/blog.config'
import { siteConfig } from '@/lib/config'
const BlogPost = ({ post }) => {
return (
(<Link href={`${BLOG.SUB_PATH}/${post.slug}`}>
(<Link href={`${siteConfig('SUB_PATH')}/${post.slug}`}>
<article key={post.id} className="mb-6 md:mb-8">
<header className="flex flex-col justify-between md:flex-row md:items-baseline">