This commit is contained in:
tangly1024
2023-01-01 18:55:48 +08:00
parent 8640eee392
commit 2d64451dfe
2 changed files with 13 additions and 9 deletions

View File

@@ -108,7 +108,6 @@ export async function getStaticPaths() {
export async function getStaticProps({ params: { slug } }) {
let fullSlug = slug.join('/')
console.log('[读取Notion]', fullSlug)
if (BLOG.PSEUDO_STATIC) {
if (!fullSlug.endsWith('.html')) {
fullSlug += '.html'