mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
Merge pull request #83 from uWayLu/bugfix/NoStylesheetsInHeadComponent
fix: 編譯時的引入外部字體方式提示
This commit is contained in:
@@ -41,8 +41,6 @@ const CommonHead = ({ meta, children }) => {
|
||||
<meta property='article:author' content={BLOG.AUTHOR} />
|
||||
</>
|
||||
)}
|
||||
{/* 谷歌字体镜像 */}
|
||||
<link href="https://fonts.loli.net/css2?family=Noto+Serif+SC&display=swap" rel="stylesheet"/>
|
||||
{children}
|
||||
</Head>
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ class MyDocument extends Document {
|
||||
<Head>
|
||||
<link rel='icon' href='/favicon.ico' />
|
||||
<link rel='icon' href='/favicon.svg' type='image/svg+xml' />
|
||||
{/* 谷歌字体镜像 */}
|
||||
<link href="https://fonts.loli.net/css2?family=Noto+Serif+SC&display=swap" rel="stylesheet"/>
|
||||
<CommonScript />
|
||||
</Head>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user