feat: support blog favicon configuation, also can use online image or default favicon

This commit is contained in:
imesong
2023-07-23 17:32:42 +08:00
parent 4ed9b87981
commit e0f30f18f5
2 changed files with 2 additions and 1 deletions

View File

@@ -13,7 +13,7 @@ class MyDocument extends Document {
return (
<Html lang={BLOG.LANG}>
<Head>
<link rel='icon' href='/favicon.ico' />
<link rel='icon' href= {`${BLOG.BLOG_FAVICON}`} />
<CommonScript />
</Head>