mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-17 10:02:02 +02:00
Fix SEO Meta
This commit is contained in:
parent
bbfaa1dac6
commit
fa5e79dcb8
1 changed files with 42 additions and 38 deletions
|
@ -26,7 +26,13 @@ function SEO({ description, meta, title }) {
|
||||||
<Helmet
|
<Helmet
|
||||||
title={title}
|
title={title}
|
||||||
titleTemplate={`%s | ${site.siteMetadata.title}`}
|
titleTemplate={`%s | ${site.siteMetadata.title}`}
|
||||||
meta={[
|
>
|
||||||
|
<meta
|
||||||
|
name="battery-savings"
|
||||||
|
content="allow-reduced-framerate"
|
||||||
|
></meta>
|
||||||
|
{
|
||||||
|
[
|
||||||
{
|
{
|
||||||
name: `description`,
|
name: `description`,
|
||||||
content: metaDescription,
|
content: metaDescription,
|
||||||
|
@ -63,12 +69,10 @@ function SEO({ description, meta, title }) {
|
||||||
name: "keywords",
|
name: "keywords",
|
||||||
content: site.siteMetadata.keywords,
|
content: site.siteMetadata.keywords,
|
||||||
},
|
},
|
||||||
].concat(meta)}
|
].concat(meta).map((m) => {
|
||||||
>
|
return <meta key={m.name} name={m.name} content={m.content}></meta>;
|
||||||
<meta
|
})
|
||||||
name="battery-savings"
|
}
|
||||||
content="allow-reduced-framerate"
|
|
||||||
></meta>
|
|
||||||
<script
|
<script
|
||||||
async
|
async
|
||||||
defer
|
defer
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue