mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-09 15:10:39 +00:00
feature:
首页、文章页背景色微调; 侧边抽屉完善; 标签组长度调整; 最近文章日期格式化,增加路由高亮,封装; 清除冗余代码;
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import BLOG from '@/blog.config'
|
||||
import { NotionAPI } from 'notion-client'
|
||||
import { getDataFromCache, setDataToCache } from '@/lib/cache/cache_manager'
|
||||
import { useRouter } from 'next/router'
|
||||
|
||||
export async function getPostBlocks (id, from) {
|
||||
let pageBlock = await getDataFromCache('page_block_' + id)
|
||||
|
||||
Reference in New Issue
Block a user