添加大量可配置项
This commit is contained in:
tangly1024
2022-01-04 11:15:23 +08:00
parent 5a34ff2f05
commit ef3a5dffe2
21 changed files with 154 additions and 122 deletions

View File

@@ -75,7 +75,7 @@ const Index = ({ allPosts, tags, categories }) => {
<BlogPostArchive key={archiveTitle} posts={archivePosts[archiveTitle]} archiveTitle={archiveTitle}/>
))}
</div>
{BLOG.showPet && <Live2D/>}
<Live2D/>
</BaseLayout>
)
}

View File

@@ -31,7 +31,7 @@ export async function getStaticProps () {
const Index = ({ allPosts, tags, meta, categories }) => {
return (
<BaseLayout
headerSlot={<Header />}
headerSlot={BLOG.home.showHomeBanner && <Header />}
meta={meta}
tags={tags}
totalPosts={allPosts}