seo once again

This commit is contained in:
Cloudburst 2022-08-26 17:40:16 +02:00 committed by GitHub
parent f64f83432f
commit 277824a90e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 0 deletions

View file

@ -2,6 +2,7 @@ import { graphql, StaticQuery } from "gatsby"
import React from "react"
import Layout from "../../components/layout"
import DocsCard from "../../components/cards/docs"
import bgImage from "../../media/phones.png"
const DocsPage = () => {
@ -33,3 +34,17 @@ const DocsPage = () => {
}
export default DocsPage
export function Head() {
return (
<>
<title>Cloudstream 404</title>
<meta property="og:title" content="Cloudstream" />
<meta property="og:description" content="Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime." />
<meta property="og:image" content={bgImage} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" /> <meta name="google-site-verification" content="eJAZtihmv0cJwd54kImmb2IfwLskeCfyW7gEm_HgXd8" />
</>
)
}

View file

@ -39,6 +39,7 @@ export function Head() {
<meta property="og:description" content="Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime." />
<meta property="og:image" content={bgImage} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="google-site-verification" content="eJAZtihmv0cJwd54kImmb2IfwLskeCfyW7gEm_HgXd8" />
</>
)

View file

@ -82,6 +82,7 @@ export function Head() {
<meta property="og:description" content="Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime." />
<meta property="og:image" content={bgImage} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
</>
)
}

View file

@ -33,6 +33,7 @@ export function Head() {
<meta property="og:description" content="Cloudstream is an Android app for streaming and downloading Movies, TV-Series and Anime." />
<meta property="og:image" content={bgImage} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
</>
)
}

View file

@ -1,6 +1,7 @@
import React from "react"
import { Link, graphql } from "gatsby"
import Layout from "../components/layout"
import bgImage from "../media/phones.png"
import rehypeReact from "rehype-react"
@ -61,7 +62,15 @@ export default function PageTemplate({ data: { markdownRemark } }) {
export function Head({data}) {
return (
<>
<title>{data.markdownRemark.frontmatter.title}</title>
<meta property="og:title" content={data.markdownRemark.frontmatter.title} />
<meta property="og:description" content={data.markdownRemark.excerpt} />
<meta property="og:image" content={bgImage} />
<meta property="og:image:type" content="image/png" />
<meta name="twitter:card" content="summary_large_image" />
</>
)
}
@ -71,6 +80,7 @@ export const pageQuery = graphql`
frontmatter {
title
}
excerpt
htmlAst
}
}