mirror of
https://github.com/diced/zipline.git
synced 2025-12-30 14:41:14 -08:00
config meta
This commit is contained in:
@@ -35,12 +35,16 @@ export default function MyApp(props) {
|
||||
name='viewport'
|
||||
content='minimum-scale=1, initial-scale=1, width=device-width'
|
||||
/>
|
||||
<meta name="theme-color" content={metas.color} />
|
||||
<meta name="title" content={metas.title} />
|
||||
<meta name="description" content={metas.description} />
|
||||
<meta property="og:title" content={metas.title} />
|
||||
<meta property="og:thumbnail" content={metas.thumbnail} />
|
||||
</Head>
|
||||
{metas ? (
|
||||
<Head>
|
||||
<meta name="theme-color" content={metas.color} />
|
||||
<meta name="title" content={metas.title} />
|
||||
<meta name="description" content={metas.description} />
|
||||
<meta property="og:title" content={metas.title} />
|
||||
<meta property="og:thumbnail" content={metas.thumbnail} />
|
||||
</Head>
|
||||
) : null}
|
||||
<ThemeProvider theme={theme}>
|
||||
<CssBaseline />
|
||||
<Component {...pageProps} />
|
||||
|
||||
Reference in New Issue
Block a user