mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-01 23:16:51 +00:00
build
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user