diff --git a/themes/fukasawa/components/BlogCard.js b/themes/fukasawa/components/BlogCard.js index e153e414..fbe866bf 100644 --- a/themes/fukasawa/components/BlogCard.js +++ b/themes/fukasawa/components/BlogCard.js @@ -13,7 +13,7 @@ const BlogCard = ({ post, showSummary }) => {
- + {post.title} diff --git a/themes/fukasawa/components/BlogListPage.js b/themes/fukasawa/components/BlogListPage.js index afc7f6f7..f7fdf2c7 100644 --- a/themes/fukasawa/components/BlogListPage.js +++ b/themes/fukasawa/components/BlogListPage.js @@ -14,7 +14,7 @@ import PaginationSimple from './PaginationSimple' */ const BlogListPage = ({ page = 1, posts = [], postCount }) => { const totalPage = Math.ceil(postCount / BLOG.POSTS_PER_PAGE) - const showNext = page < totalPage && posts.length <= BLOG.POSTS_PER_PAGE && posts.length < postCount + const showNext = page < totalPage && posts.length === BLOG.POSTS_PER_PAGE && posts.length < postCount const [colCount, changeCol] = useState(3) function updateCol () { diff --git a/themes/fukasawa/components/GroupMenu.js b/themes/fukasawa/components/GroupMenu.js index 8736d7ef..906ef217 100644 --- a/themes/fukasawa/components/GroupMenu.js +++ b/themes/fukasawa/components/GroupMenu.js @@ -12,7 +12,8 @@ function GroupMenu ({ customNav }) { { name: locale.NAV.INDEX, to: '/' || '/', show: true }, { name: locale.COMMON.CATEGORY, to: '/category', show: CONFIG_FUKA.MENU_CATEGORY }, { name: locale.COMMON.TAGS, to: '/tag', show: CONFIG_FUKA.MENU_TAG }, - { name: locale.NAV.ARCHIVE, to: '/archive', show: CONFIG_FUKA.MENU_ARCHIVE } + { name: locale.NAV.ARCHIVE, to: '/archive', show: CONFIG_FUKA.MENU_ARCHIVE }, + { name: locale.NAV.SEARCH, to: '/search', show: CONFIG_FUKA.MENU_SEARCH } ] if (customNav) { diff --git a/themes/fukasawa/components/PaginationSimple.js b/themes/fukasawa/components/PaginationSimple.js index 5eb30af8..71a0c431 100644 --- a/themes/fukasawa/components/PaginationSimple.js +++ b/themes/fukasawa/components/PaginationSimple.js @@ -22,7 +22,7 @@ const PaginationSimple = ({ page, showNext }) => { } } passHref > @@ -30,7 +30,7 @@ const PaginationSimple = ({ page, showNext }) => {