获取外部Notion页面

This commit is contained in:
tangly
2022-11-16 22:21:57 +08:00
parent 12babbdbca
commit 1e56ced00d
8 changed files with 59 additions and 17 deletions

View File

@@ -40,7 +40,7 @@ export default function HeaderArticle({ post, siteInfo }) {
</>}
</div>
<div className='flex justify-center'>
{post?.type[0] !== 'Page' && (
{post?.type !== 'Page' && (
<>
<Link
href={`/archive#${post?.date?.start_date?.substr(0, 7)}`}