🕶 修复编译异常

This commit is contained in:
tangly1024
2021-09-29 14:11:20 +08:00
parent be3b50c788
commit 3fe53e81b9
2 changed files with 1 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ const DefaultLayout = ({ tags, posts, page, currentTag, ...customMeta }) => {
changeColumn(3)
} else if (window.innerWidth > 900) {
changeColumn(2)
} else if (window.innerWidth < 900) {
} else if (window.innerWidth <= 900) {
changeColumn(1)
}
}, 500)

View File

@@ -14,7 +14,6 @@ class MyDocument extends Document {
<Head>
<link rel='icon' href='/favicon.ico' />
<link rel='icon' href='/favicon.svg' type='image/svg+xml' />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<meta property='og:locale' content={BLOG.lang} />
<meta content={BLOG.darkBackground} name='theme-color' />
<meta name='robots' content='follow, index' />