Merge branch 'main' into feature_facebook_messenger_customer_chat_plugin

This commit is contained in:
tangly1024
2022-04-06 16:22:06 +08:00
committed by GitHub
25 changed files with 413 additions and 646 deletions

View File

@@ -7,11 +7,12 @@ import 'react-notion-x/src/styles.css'
import '@/styles/notion.css' // 重写部分样式
// used for collection views (optional)
import 'rc-dropdown/assets/index.css'
// import 'rc-dropdown/assets/index.css'
// used for code syntax highlighting (optional)
import 'prismjs/themes/prism-okaidia.css'
// used for rendering equations (optional)
import 'katex/dist/katex.min.css'
import 'react-notion-x/build/third-party/equation.css'
import dynamic from 'next/dynamic'
import { GlobalContextProvider } from '@/lib/global'
import { DebugPanel } from '@/components/DebugPanel'

View File

@@ -63,6 +63,7 @@ const Slug = props => {
type: 'article',
slug: 'article/' + props.post.slug,
image: props.post.page_cover,
category: props.post.category?.[0],
tags: props.post.tags
}