mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-03 17:46:39 -04:00
separate theme restoration script and add meta[name="theme-color"]
tag to _document.tsx
This commit is contained in:
@ -12,7 +12,10 @@ class MyDocument extends Document {
|
||||
render() {
|
||||
return (
|
||||
<Html lang={config.siteLocale?.replace("_", "-")}>
|
||||
<Head />
|
||||
<Head>
|
||||
{/* set dynamically by script in _app.tsx, but tag must exist first */}
|
||||
<meta name="theme-color" content="" />
|
||||
</Head>
|
||||
<body>
|
||||
<Main />
|
||||
<NextScript />
|
||||
|
Reference in New Issue
Block a user