diff --git a/themes/heo/components/BlogPostCard.js b/themes/heo/components/BlogPostCard.js index 3f1921a0..c6e09f4a 100644 --- a/themes/heo/components/BlogPostCard.js +++ b/themes/heo/components/BlogPostCard.js @@ -1,5 +1,5 @@ import LazyImage from '@/components/LazyImage' -import NotionIcon from '@/components/NotionIcon' +import NotionIcon from './NotionIcon' import { siteConfig } from '@/lib/config' import Link from 'next/link' import CONFIG from '../config' @@ -83,9 +83,9 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { }> {siteConfig('POST_TITLE_ICON') && ( + icon={post.pageIcon} + className="heo-icon w-6 h-6 mr-1 align-middle transform translate-y-[-8%]" // 专门为 Heo 主题的图标设置样式 + /> )} {post.title} @@ -112,4 +112,4 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { ) } -export default BlogPostCard \ No newline at end of file +export default BlogPostCard