make tags list visible in posts index page only.

This commit is contained in:
PrinOrange
2024-01-06 21:37:41 +08:00
parent 9b941fdd0d
commit d47d4a18ee

View File

@@ -60,7 +60,7 @@ export default function PostsPage(props: PostsPageProps) {
<LuPenTool className="mx-2 my-auto" /> <LuPenTool className="mx-2 my-auto" />
{"ALL POSTS"} {"ALL POSTS"}
</h2> </h2>
{!isEmptyArray(props.tagList) && ( {!isEmptyArray(props.tagList) && props.pageNumber === 1 && (
<> <>
<Separator /> <Separator />
<div className={`my-5 flex flex-wrap justify-center px-2 ${fontSourceSerifScreenCN.className}`}> <div className={`my-5 flex flex-wrap justify-center px-2 ${fontSourceSerifScreenCN.className}`}>