feature:加入最新文章功能

This commit is contained in:
tangly1024
2021-11-03 15:48:37 +08:00
parent 58109ee4cd
commit 3fcbb8a420
6 changed files with 60 additions and 26 deletions

View File

@@ -27,7 +27,7 @@ export async function getStaticProps () {
const Index = ({ posts, tags, meta }) => {
return (
<BaseLayout meta={meta} tags={tags}>
<BaseLayout meta={meta} tags={tags} posts={posts}>
<div className='flex-grow'>
<TagsBar tags={tags} />
<BlogPostListScroll posts={posts} tags={tags} />