From 10c69f63a06cefd3a57f20f3e9fc8bdf77de5903 Mon Sep 17 00:00:00 2001 From: hjwucc Date: Sat, 22 Jul 2023 00:59:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:nobelium=E4=B8=BB=E9=A2=98?= =?UTF-8?q?=E5=85=AC=E5=91=8A=E7=BD=AE=E9=A1=B6=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/nobelium/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/nobelium/index.js b/themes/nobelium/index.js index b58b2250..d9410924 100644 --- a/themes/nobelium/index.js +++ b/themes/nobelium/index.js @@ -101,7 +101,7 @@ const LayoutIndex = props => { * @returns */ const LayoutPostList = props => { - const { posts } = props + const { posts, topSlot } = props // 在列表中进行实时过滤 const [filterKey, setFilterKey] = useState('') @@ -118,6 +118,7 @@ const LayoutPostList = props => { return ( }> + {topSlot} {BLOG.POST_LIST_STYLE === 'page' ? : } )