diff options
author | 2021-10-14 08:33:58 -0400 | |
---|---|---|
committer | 2021-10-14 08:33:58 -0400 | |
commit | 4dbad5d5ff164167ae5b61ab6c2e46605fc25b14 (patch) | |
tree | 632fcea58128765cd33489c70b927b4c17a44ca4 /examples/docs/src/components | |
parent | a0becd24b4f44a8ee92533c3baf943e760ee7584 (diff) | |
download | astro-4dbad5d5ff164167ae5b61ab6c2e46605fc25b14.tar.gz astro-4dbad5d5ff164167ae5b61ab6c2e46605fc25b14.tar.zst astro-4dbad5d5ff164167ae5b61ab6c2e46605fc25b14.zip |
Added descriptions to docs pages (#1550)
Diffstat (limited to 'examples/docs/src/components')
-rw-r--r-- | examples/docs/src/components/HeadSEO.astro | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/docs/src/components/HeadSEO.astro b/examples/docs/src/components/HeadSEO.astro index 268809a87..3add09b7d 100644 --- a/examples/docs/src/components/HeadSEO.astro +++ b/examples/docs/src/components/HeadSEO.astro @@ -21,7 +21,7 @@ const imageAlt = content?.image?.alt ?? OPEN_GRAPH.image.alt; <meta property="og:locale" content={content.ogLocale ?? SITE.defaultLanguage}/> <meta property="og:image" content={canonicalImageSrc}/> <meta property="og:image:alt" content={imageAlt}/> -<meta property="og:description" content={content.description ? content.description : SITE.description}/> +<meta name="description" property="og:description" content={content.description ? content.description : SITE.description}/> <meta property="og:site_name" content={SITE.title}/> <!-- Twitter Tags --> @@ -32,8 +32,8 @@ const imageAlt = content?.image?.alt ?? OPEN_GRAPH.image.alt; <meta name="twitter:image" content={canonicalImageSrc}/> <meta name="twitter:image:alt" content={imageAlt}/> -<!-- - TODO: Add json+ld data, maybe https://schema.org/APIReference makes sense? +<!-- + TODO: Add json+ld data, maybe https://schema.org/APIReference makes sense? Docs: https://developers.google.com/search/docs/advanced/structured-data/intro-structured-data https://www.npmjs.com/package/schema-dts seems like a great resource for implementing this. Even better, there's a React component that integrates with `schema-dts`: https://github.com/google/react-schemaorg |