mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-16 17:42:05 +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
|
||||
title={title}
|
||||
titleTemplate={`%s | ${site.siteMetadata.title}`}
|
||||
meta={[
|
||||
>
|
||||
<meta
|
||||
name="battery-savings"
|
||||
content="allow-reduced-framerate"
|
||||
></meta>
|
||||
{
|
||||
[
|
||||
{
|
||||
name: `description`,
|
||||
content: metaDescription,
|
||||
|
@ -63,12 +69,10 @@ function SEO({ description, meta, title }) {
|
|||
name: "keywords",
|
||||
content: site.siteMetadata.keywords,
|
||||
},
|
||||
].concat(meta)}
|
||||
>
|
||||
<meta
|
||||
name="battery-savings"
|
||||
content="allow-reduced-framerate"
|
||||
></meta>
|
||||
].concat(meta).map((m) => {
|
||||
return <meta key={m.name} name={m.name} content={m.content}></meta>;
|
||||
})
|
||||
}
|
||||
<script
|
||||
async
|
||||
defer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue