diff --git a/themes/hexo/LayoutTag.js b/themes/hexo/LayoutTag.js index 7380aef0..1e827be8 100644 --- a/themes/hexo/LayoutTag.js +++ b/themes/hexo/LayoutTag.js @@ -1,10 +1,20 @@ +import BLOG from '@/blog.config' import BlogPostListScroll from './components/BlogPostListScroll' +import BlogPostListPage from './components/BlogPostListPage' import LayoutBase from './LayoutBase' +import TagItemMini from '../next/components/TagItemMini' export const LayoutTag = (props) => { - const { tags, posts, tag } = props + console.log(props) + + const currentTag = props.tags.find((t) => { + return t.name === props.tag + }) return - +
+ +
+ {BLOG.POST_LIST_STYLE === 'page' ? : }
} diff --git a/themes/next/components/StickyBar.js b/themes/next/components/StickyBar.js index fdcba64d..2f56dc4a 100644 --- a/themes/next/components/StickyBar.js +++ b/themes/next/components/StickyBar.js @@ -39,7 +39,7 @@ const StickyBar = ({ children }) => { return (