@@ -93,35 +91,31 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
)}
+
{/* 当前搜索 */}
{(currentSearch || (page && page !== 1)) && (
- {currentSearch && (
- 搜索关键词: {currentSearch}
- )}
- {page && page !== 1 && (
- 页 {page} / {totalPages}
- )}
+ {currentSearch && (搜索关键词: {currentSearch})}
+ {page && page !== 1 && (页 {page} / {totalPages})}
- {/*
+
+
*/}
+ {/* 文章列表 */}
-
{!postsToShow.length && (
+
))}
- No posts found.
)} {postsToShow.map(post => ( -