feat: only display feature image on the homepage.
This commit is contained in:
parent
bef662d5c0
commit
567bb45e1d
@ -23,7 +23,7 @@ if (pageNum < 1) {
|
||||
<!-- This is the layout for listing all the blogs by using pagination. -->
|
||||
<BaseLayout title={pageNum > 1 ? `第 ${pageNum} 页` : undefined}>
|
||||
<div class="px-lg-2 px-xxl-5 py-3 py-md-4 py-xxl-5">
|
||||
<FeaturePosts {posts} />
|
||||
{pageNum === 1 && <FeaturePosts {posts} />}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<PostCards {pageNum} {posts} />
|
||||
|
Loading…
Reference in New Issue
Block a user