From 9247c4d3081a5860af1e4e23a506914c6c4b331b Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 6 Jun 2023 23:33:12 +0800 Subject: [PATCH] post - url --- themes/hexo/components/BlogPostCard.js | 3 ++- themes/hexo/components/BlogPostCardInfo.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/hexo/components/BlogPostCard.js b/themes/hexo/components/BlogPostCard.js index 5882f265..af2192b0 100644 --- a/themes/hexo/components/BlogPostCard.js +++ b/themes/hexo/components/BlogPostCard.js @@ -2,6 +2,7 @@ import Link from 'next/link' import React from 'react' import CONFIG_HEXO from '../config_hexo' import { BlogPostCardInfo } from './BlogPostCardInfo' +import BLOG from '@/blog.config' // import Image from 'next/image' const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { @@ -34,7 +35,7 @@ const BlogPostCard = ({ index, post, showSummary, siteInfo }) => { {/* 图片封面 */} {showPageCover && (
- +
diff --git a/themes/hexo/components/BlogPostCardInfo.js b/themes/hexo/components/BlogPostCardInfo.js index d89c126b..508114f4 100644 --- a/themes/hexo/components/BlogPostCardInfo.js +++ b/themes/hexo/components/BlogPostCardInfo.js @@ -2,6 +2,7 @@ import NotionPage from '@/components/NotionPage' import Link from 'next/link' import TagItemMini from './TagItemMini' import TwikooCommentCount from '@/components/TwikooCommentCount' +import BLOG from '@/blog.config' /** * 博客列表的文字内容 @@ -13,7 +14,7 @@ export const BlogPostCardInfo = ({ post, showPreview, showPageCover, showSummary
{/* 标题 */}