rss优化

This commit is contained in:
tangly1024
2022-03-17 10:08:46 +08:00
parent 005fb33a8f
commit 0baafe474e
2 changed files with 4 additions and 2 deletions

View File

@@ -3,6 +3,7 @@ import BLOG from '@/blog.config'
import ReactDOMServer from 'react-dom/server'
import { NotionRenderer, Equation, Code, Collection, CollectionRow } from 'react-notion-x'
import { getPostBlocks } from './notion'
import { useRouter } from 'next/router'
const mapPageUrl = id => 'https://www.notion.so/' + id.replace(/-/g, '')