mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-23 15:09:46 +00:00
允许封面图为空
This commit is contained in:
@@ -7,7 +7,7 @@ import NotionPage from '@/components/NotionPage'
|
||||
|
||||
const BlogPostCard = ({ post, showSummary, index }) => {
|
||||
const showPreview = CONFIG_HEXO.POST_LIST_PREVIEW && post.blockMap
|
||||
const showPageCover = CONFIG_HEXO.POST_LIST_COVER
|
||||
const showPageCover = CONFIG_HEXO.POST_LIST_COVER && post?.page_cover
|
||||
return (
|
||||
<div
|
||||
key={post.id}
|
||||
|
||||
Reference in New Issue
Block a user