From 838d3c7d1b9738c63a6372d6729b537aaeb24401 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Mon, 1 Nov 2021 15:06:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/BlogPost.js | 2 +- components/SideBar.js | 2 +- pages/article/[slug].js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/BlogPost.js b/components/BlogPost.js index c94e3376..dfd1a74a 100644 --- a/components/BlogPost.js +++ b/components/BlogPost.js @@ -4,7 +4,7 @@ import Link from 'next/link' const BlogPost = ({ post }) => { return ( -
+
{/* 封面图 */} {post.page_cover && post.page_cover.length > 1 && ( diff --git a/components/SideBar.js b/components/SideBar.js index b0dbf9ca..b82ed45e 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -4,7 +4,7 @@ import InfoCard from '@/components/InfoCard' import TagList from '@/components/TagList' const SideBar = ({ tags, currentTag, post }) => { - return