Skip to content

Commit 6753dd1

Browse files
Clarify custom frontmatter fields are not added to HTML head (#1894)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Devin Logan <[email protected]>
1 parent ad2e58a commit 6753dd1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

fern/products/docs/pages/customization/frontmatter.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ subtitle: Set titles, add meta descriptions, and more
1616
slug: frontmatter
1717
description: Use frontmatter to set the page title, subtitle, slug, meta description, its OpenGraph image, and a URL to suggest edits.
1818
keywords: frontmatter, seo, customization, metadata
19-
og:sitename: Your Company Inc.
19+
og:site_name: Your Company Inc.
2020
og:title: SEO Metadata Title
2121
---
2222
```

fern/snippets/seo-metadata-page.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
<Info>
2+
Only the documented SEO fields are added to the HTML `<head>` as meta tags. Custom frontmatter fields won't automatically appear in your page metadata. To add custom metadata, use [custom JavaScript](/learn/docs/customization/custom-css-js#custom-javascript).
3+
</Info>
4+
15
<CodeBlock title="plantstore-quickstart.mdx">
26
```mdx
37
---

0 commit comments

Comments
 (0)