File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import getAllPageIds from '@/lib/notion/getAllPageIds'
5
5
import { getAllTags } from '@/lib/notion/getAllTags'
6
6
import { getConfigMapFromConfigPage } from '@/lib/notion/getNotionConfig'
7
7
import getPageProperties , {
8
- adjustPageProperties
8
+ adjustPageProperties
9
9
} from '@/lib/notion/getPageProperties'
10
10
import { fetchInBatches , getPage } from '@/lib/notion/getPostBlocks'
11
11
import { compressImage , mapImgUrl } from '@/lib/notion/mapImage'
@@ -347,7 +347,6 @@ export function getNavPages({ allPages }) {
347
347
return (
348
348
post &&
349
349
post ?. slug &&
350
- ! post ?. slug ?. startsWith ( 'http' ) &&
351
350
post ?. type === 'Post' &&
352
351
post ?. status === 'Published'
353
352
)
Original file line number Diff line number Diff line change 1
1
/* eslint-disable */
2
- import BlogPostListEmpty from './BlogPostListEmpty'
3
- import BlogPostItem from './BlogPostItem'
2
+ import { siteConfig } from '@/lib/config'
4
3
import { useNavGlobal } from '@/themes/nav'
5
4
import CONFIG from '../config'
6
- import { siteConfig } from '@/lib/config'
5
+ import BlogPostItem from './BlogPostItem'
6
+ import BlogPostListEmpty from './BlogPostListEmpty'
7
7
8
8
/**
9
9
* 博客列表滚动分页
You can’t perform that action at this time.
0 commit comments