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