hexo 主题支持全屏文章,隐藏侧边组件

This commit is contained in:
tangly1024
2023-12-30 17:19:21 +08:00
parent b970182403
commit b15d5f7c2c
4 changed files with 16 additions and 4 deletions

View File

@@ -16,7 +16,6 @@ export async function getNotion(pageId) {
}
const postInfo = blockMap?.block?.[idToUuid(pageId)].value
return {
id: pageId,
type: postInfo,
@@ -26,7 +25,7 @@ export async function getNotion(pageId) {
status: 'Published',
createdTime: formatDate(new Date(postInfo.created_time).toString(), BLOG.LANG),
lastEditedDay: formatDate(new Date(postInfo?.last_edited_time).toString(), BLOG.LANG),
fullWidth: false,
fullWidth: postInfo?.fullWidth,
page_cover: getPageCover(postInfo),
date: { start_date: formatDate(new Date(postInfo?.last_edited_time).toString(), BLOG.LANG) },
blockMap