diff --git a/components/BlogPostListScroll.js b/components/BlogPostListScroll.js index fc98dff9..d6484df0 100644 --- a/components/BlogPostListScroll.js +++ b/components/BlogPostListScroll.js @@ -66,7 +66,7 @@ const BlogPostListScroll = ({ posts = [], tags }) => { if (!postsToShow || postsToShow.length === 0) { return } else { - return
+ return
{/* 文章列表 */}
@@ -76,13 +76,8 @@ const BlogPostListScroll = ({ posts = [], tags }) => {
- {hasMore - ? (
加载更多
) - : ( -
加载完了😰
- )} - +
{hasMore ? '继续加载' : '加载完了😰'}
diff --git a/layouts/BaseLayout.js b/layouts/BaseLayout.js index 1d05fe56..d5de2544 100644 --- a/layouts/BaseLayout.js +++ b/layouts/BaseLayout.js @@ -50,10 +50,10 @@ const BaseLayout = ({ children, layout, fullWidth, tags, meta, post, ...customMe {/* Middle Wrapper */}
-
- {children} +
+ {children} +
-