diff --git a/settings/seo.mdx b/settings/seo.mdx index a885e1ad4..b4d248266 100644 --- a/settings/seo.mdx +++ b/settings/seo.mdx @@ -20,7 +20,7 @@ You can set default meta tags by adding the `metadata` field to your `docs.json` ```json "seo": { "metatags": { - "og:image": "link to your default meta tag image" + "og:image": "https://example.com/og-image.jpg" } } ``` @@ -32,7 +32,7 @@ Add your meta tags to the page's metadata like so: ```mdx --- title: 'Your Example Page Title' -'og:image': 'link to your meta tag image' +'og:image': 'https://example.com/og-image.jpg' --- ``` @@ -40,6 +40,10 @@ title: 'Your Example Page Title' Meta tags with colons need to be typed with quotes around them when you put them in the page metadata. + + `og:image` URLs must be absolute (starting with `https://`) for proper social media sharing. + + ## Common Meta Tags Reference Below is a comprehensive list of meta tags you can add to your `docs.json`. These meta tags help improve your site's SEO, social sharing, and browser compatibility.