Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 2, 2024
2 parents ff40ddd + 4d6ffad commit f242f70
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/GlobalHead.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ class MyDocument extends Document {
return (
<Html lang={BLOG.LANG}>
<Head>
<link rel='icon' href={`${BLOG.BLOG_FAVICON}`} />
{/* 预加载字体 */}
{BLOG.FONT_AWESOME && (
<>
Expand Down

0 comments on commit f242f70

Please sign in to comment.