import LayoutBase from './LayoutBase' import { ArticleLock } from './components/ArticleLock' import NotionPage from '@/components/NotionPage' import { ArticleInfo } from './components/ArticleInfo' import Comment from '@/components/Comment' import ArticleAround from './components/ArticleAround' export const LayoutSlug = props => { const { post, lock, validPassword, prev, next } = props if (!post) { return } return ( {lock && } {!lock &&
{post && <> {post.type === 'Post' && } }
}
) }