updated format and lint scripts and applied them
This commit is contained in:
@@ -1,17 +1,20 @@
|
||||
import Document, { Head, Main, NextScript } from 'next/document';
|
||||
import getUrl from '../util/getUrl';
|
||||
import Document, { Head, Main, NextScript } from 'next/document'
|
||||
import getUrl from '../util/getUrl'
|
||||
|
||||
export default class MyDocument extends Document {
|
||||
render() {
|
||||
const favicon = getUrl('favicon.ico');
|
||||
const favicon = getUrl('favicon.ico')
|
||||
return (
|
||||
<html>
|
||||
<Head>
|
||||
<meta charSet='utf-8'/>
|
||||
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no'/>
|
||||
<link rel='shortcut icon' href={favicon} type='image/x-icon'/>
|
||||
<link rel='icon' href={favicon} type='image/x-icon'/>
|
||||
<link rel='stylesheet' href={getUrl('/_next/static/style.css')} />
|
||||
<meta charSet="utf-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, shrink-to-fit=no"
|
||||
/>
|
||||
<link rel="shortcut icon" href={favicon} type="image/x-icon" />
|
||||
<link rel="icon" href={favicon} type="image/x-icon" />
|
||||
<link rel="stylesheet" href={getUrl('/_next/static/style.css')} />
|
||||
<title>My Knowledge Base</title>
|
||||
</Head>
|
||||
<body>
|
||||
@@ -19,6 +22,6 @@ export default class MyDocument extends Document {
|
||||
<NextScript />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user