From e4dbf9108e74ae527c3a3384cd2b38f1edacda4c Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 1 Apr 2024 13:53:24 +0800 Subject: [PATCH 1/2] theme-game load bg cover --- themes/game/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/game/index.js b/themes/game/index.js index 8c6db087..6ae7c784 100644 --- a/themes/game/index.js +++ b/themes/game/index.js @@ -377,18 +377,18 @@ const LayoutSlug = props => {

- {siteConfig('TITLE')} + {siteInfo.title || siteConfig('TITLE')}

- {siteConfig('DESCRIPTION')} + {siteInfo.description || siteConfig('DESCRIPTION')}

{/* 游戏封面图 */} - {game?.img && ( + {game?.pageCoverThumbnail && ( )} From db3b3ce96086a5b79a639df14479e805aa03dbff Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Mon, 1 Apr 2024 13:54:35 +0800 Subject: [PATCH 2/2] theme game fix --- themes/game/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/game/index.js b/themes/game/index.js index 6ae7c784..faf2c5de 100644 --- a/themes/game/index.js +++ b/themes/game/index.js @@ -377,10 +377,10 @@ const LayoutSlug = props => {

- {siteInfo.title || siteConfig('TITLE')} + {siteInfo?.title || siteConfig('TITLE')}

- {siteInfo.description || siteConfig('DESCRIPTION')} + {siteInfo?.description || siteConfig('DESCRIPTION')}