docs: fixed keywords usage in some pages (#14140)
* docs: fixed keywords usage in some pages * fix vale error * fix vale error
This commit is contained in:
@@ -16,6 +16,16 @@ import { ChevronUpDown } from "@medusajs/icons"
|
|||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: `Medusa Emails`,
|
title: `Medusa Emails`,
|
||||||
|
keywords: [
|
||||||
|
"email",
|
||||||
|
"mail",
|
||||||
|
"medusa mail",
|
||||||
|
"transactional email",
|
||||||
|
"marketing email",
|
||||||
|
"email service",
|
||||||
|
"cloud email",
|
||||||
|
"medusa emails",
|
||||||
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
# {metadata.title}
|
# {metadata.title}
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
|
---
|
||||||
|
keywords:
|
||||||
|
- deploy
|
||||||
|
- deployment
|
||||||
|
- production
|
||||||
|
- cloud
|
||||||
|
---
|
||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: `Sign Up for Cloud`,
|
title: `Sign Up for Cloud`,
|
||||||
keywords: ["deploy", "deployment", "production", "cloud"],
|
keywords: ["deploy", "deployment", "production", "cloud"],
|
||||||
|
|||||||
@@ -20,6 +20,13 @@ import { Prerequisites, Card, InlineIcon } from "docs-ui"
|
|||||||
|
|
||||||
export const metadata = {
|
export const metadata = {
|
||||||
title: `Use Saved Payment Methods During Checkout`,
|
title: `Use Saved Payment Methods During Checkout`,
|
||||||
|
keywords: [
|
||||||
|
"saved payment methods",
|
||||||
|
"stripe",
|
||||||
|
"payment provider",
|
||||||
|
"checkout",
|
||||||
|
"nextjs",
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
# {metadata.title}
|
# {metadata.title}
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import { usePathname } from "next/navigation"
|
|||||||
export const TechArticleJsonLd = () => {
|
export const TechArticleJsonLd = () => {
|
||||||
const {
|
const {
|
||||||
config: { baseUrl, basePath, description: configDescription, titleSuffix },
|
config: { baseUrl, basePath, description: configDescription, titleSuffix },
|
||||||
|
frontmatter,
|
||||||
} = useSiteConfig()
|
} = useSiteConfig()
|
||||||
const pathname = usePathname()
|
const pathname = usePathname()
|
||||||
const { isBrowser } = useIsBrowser()
|
const { isBrowser } = useIsBrowser()
|
||||||
@@ -36,7 +37,8 @@ export const TechArticleJsonLd = () => {
|
|||||||
proficiencyLevel: "Expert",
|
proficiencyLevel: "Expert",
|
||||||
author: "Medusa",
|
author: "Medusa",
|
||||||
genre: "Documentation",
|
genre: "Documentation",
|
||||||
keywords: "medusa, ecommerce, open-source",
|
keywords:
|
||||||
|
frontmatter.keywords?.join(", ") || "medusa, ecommerce, open-source",
|
||||||
url: `${baseLink}${pathname}`,
|
url: `${baseLink}${pathname}`,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user