2021-02-10 09:38:27 +01:00
|
|
|
import Document, { Head, Html, Main, NextScript } from 'next/document';
|
2021-01-22 03:43:42 +01:00
|
|
|
import React from 'react';
|
|
|
|
|
|
|
|
export default class CustomDocument extends Document<any> {
|
|
|
|
render() {
|
|
|
|
return (
|
2021-02-10 09:38:27 +01:00
|
|
|
<Html lang="en">
|
2021-01-22 03:43:42 +01:00
|
|
|
<Head>
|
|
|
|
<link rel="shortcut icon" href="/favicon.ico"></link>
|
2021-02-18 04:28:52 +01:00
|
|
|
<link
|
|
|
|
rel="apple-touch-icon"
|
|
|
|
sizes="180x180"
|
|
|
|
href="/apple-touch-icon.png"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="icon"
|
|
|
|
type="image/png"
|
|
|
|
sizes="32x32"
|
|
|
|
href="/favicon-32x32.png"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="icon"
|
|
|
|
type="image/png"
|
|
|
|
sizes="16x16"
|
|
|
|
href="/favicon-16x16.png"
|
|
|
|
/>
|
2021-09-03 16:10:01 +02:00
|
|
|
<link
|
|
|
|
key="rss-feed"
|
|
|
|
rel="alternative"
|
|
|
|
type="application/rss+xml"
|
|
|
|
title="RSS feed for just-be.dev"
|
|
|
|
href="/feed"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
key="atom-feed"
|
|
|
|
rel="alternative"
|
|
|
|
type="application/atom+xml"
|
|
|
|
title="Atom feed for just-be.dev"
|
|
|
|
href="/feed/atom"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
key="json-feed"
|
|
|
|
rel="alternative"
|
|
|
|
type="application/feed+json"
|
|
|
|
title="JSON feed for just-be.dev"
|
|
|
|
href="/feed/json"
|
|
|
|
/>
|
2021-02-18 04:28:52 +01:00
|
|
|
<link rel="manifest" href="/site.webmanifest" />
|
|
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
|
|
|
|
<meta name="theme-color" content="#ffffff" />
|
2021-02-18 04:52:11 +01:00
|
|
|
|
2021-01-22 03:43:42 +01:00
|
|
|
{this.props?.styleTags}
|
|
|
|
</Head>
|
|
|
|
<body>
|
|
|
|
<Main />
|
|
|
|
<NextScript />
|
|
|
|
</body>
|
2021-02-10 09:38:27 +01:00
|
|
|
</Html>
|
2021-01-22 03:43:42 +01:00
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|