mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 15:09:22 +00:00
站点的favicon支持配置notion-config
This commit is contained in:
@@ -60,6 +60,7 @@ const GlobalHead = props => {
|
||||
<link rel='icon' href={favicon} />
|
||||
<title>{title}</title>
|
||||
<meta name='theme-color' content={siteConfig('BACKGROUND_DARK')} />
|
||||
|
||||
<meta
|
||||
name='viewport'
|
||||
content='width=device-width, initial-scale=1.0, maximum-scale=5.0, minimum-scale=1.0'
|
||||
@@ -91,6 +92,8 @@ const GlobalHead = props => {
|
||||
<meta name='twitter:description' content={description} />
|
||||
<meta name='twitter:title' content={title} />
|
||||
|
||||
<link rel='icon' href={`${siteConfig('BLOG_FAVICON')}`} />
|
||||
|
||||
{siteConfig('COMMENT_WEBMENTION_ENABLE') && (
|
||||
<>
|
||||
<link
|
||||
|
||||
@@ -12,7 +12,6 @@ class MyDocument extends Document {
|
||||
return (
|
||||
<Html lang={BLOG.LANG}>
|
||||
<Head>
|
||||
<link rel='icon' href={`${BLOG.BLOG_FAVICON}`} />
|
||||
{/* 预加载字体 */}
|
||||
{BLOG.FONT_AWESOME && (
|
||||
<>
|
||||
|
||||
Reference in New Issue
Block a user