From 675def4936b637b3e5aeb79495df1fc2d6a7ce3a Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Sat, 12 Oct 2024 14:48:24 +0800 Subject: [PATCH] =?UTF-8?q?starter=E4=B8=BB=E9=A2=98=EF=BC=8C=E7=A9=BA?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/starter/components/Blog.js | 16 +++++++++------- themes/starter/components/Footer.js | 11 ++++++++--- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/themes/starter/components/Blog.js b/themes/starter/components/Blog.js index 7ccb5735..b8f51267 100644 --- a/themes/starter/components/Blog.js +++ b/themes/starter/components/Blog.js @@ -40,13 +40,15 @@ export const Blog = ({ posts }) => { className='wow fadeInUp group mb-10' data-wow-delay='.1s'>
- - {item.title} - + {item.pageCoverThumbnail && ( + + {item.title} + + )}
diff --git a/themes/starter/components/Footer.js b/themes/starter/components/Footer.js index d901c2c3..9e212ddf 100644 --- a/themes/starter/components/Footer.js +++ b/themes/starter/components/Footer.js @@ -73,9 +73,14 @@ export const Footer = props => { key={index} href={item?.href} className='group flex items-center gap-[22px]'> -
- {item.title} -
+ {item.pageCoverThumbnail && ( +
+ {item.title} +
+ )} {item.title}