From d47d4a18ee2935df7c2f436f50109303073d53c2 Mon Sep 17 00:00:00 2001 From: PrinOrange Date: Sat, 6 Jan 2024 21:37:41 +0800 Subject: [PATCH] make tags list visible in posts index page only. --- pages/posts/[[...slug]].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/posts/[[...slug]].tsx b/pages/posts/[[...slug]].tsx index f7e553c..01cd077 100644 --- a/pages/posts/[[...slug]].tsx +++ b/pages/posts/[[...slug]].tsx @@ -60,7 +60,7 @@ export default function PostsPage(props: PostsPageProps) { {"ALL POSTS"} - {!isEmptyArray(props.tagList) && ( + {!isEmptyArray(props.tagList) && props.pageNumber === 1 && ( <>