mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-07 15:10:32 +00:00
NEXT主题-fontawesome改成引用CDN
This commit is contained in:
@@ -9,7 +9,7 @@ const Index = (props) => {
|
||||
|
||||
export async function getStaticProps () {
|
||||
const from = 'index'
|
||||
const { allPosts, latestPosts, categories, tags, postCount } = await getGlobalNotionData({ from })
|
||||
const { allPosts, latestPosts, categories, tags, postCount, customNav } = await getGlobalNotionData({ from, pageType: ['Post'] })
|
||||
const meta = {
|
||||
title: `${BLOG.TITLE}`,
|
||||
description: BLOG.DESCRIPTION,
|
||||
@@ -45,7 +45,8 @@ export async function getStaticProps () {
|
||||
postCount,
|
||||
tags,
|
||||
categories,
|
||||
meta
|
||||
meta,
|
||||
customNav
|
||||
},
|
||||
revalidate: 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user