首页、文章页背景色微调;
侧边抽屉完善;
标签组长度调整;
最近文章日期格式化,增加路由高亮,封装;
清除冗余代码;
This commit is contained in:
tangly1024
2021-11-03 17:40:19 +08:00
parent ab375a3cdc
commit 255a774e1c
11 changed files with 125 additions and 54 deletions

View File

@@ -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)