Conversation
The Open Graph protocol requires `property` attribute (from RDFa) rather than `name` for og: meta tags.
There was a problem hiding this comment.
Pull request overview
This PR updates the “custom head tags” documentation examples to use the correct Open Graph <meta> attribute (property instead of name), aligning the narrative and frontmatter snippets with Open Graph conventions and the rest of the docs.
Changes:
- Update the example
<meta>tag fromname="og:..."toproperty="og:..."in both EN and ZH guides. - Update the frontmatter
headexample to useproperty: og:*keys for Open Graph entries.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| website/docs/en/guide/advanced/custom-head.mdx | Fix Open Graph meta tag examples to use property in both inline HTML and frontmatter head snippet. |
| website/docs/zh/guide/advanced/custom-head.mdx | Same documentation correction for the Chinese guide. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Deploying rspress-v2 with
|
| Latest commit: |
0a5ef38
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://c4ff6f3f.rspress-v2.pages.dev |
| Branch Preview URL: | https://docs-fix-og-meta-property.rspress-v2.pages.dev |
Rsdoctor Bundle Diff AnalysisFound 3 projects in monorepo, 3 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 nodePath:
📦 Download Diff Report: node Bundle Diff 📁 webPath:
📦 Download Diff Report: web Bundle Diff 📁 node_mdPath:
📦 Download Diff Report: node_md Bundle Diff Generated by Rsdoctor GitHub Action |
property instead of name for Open Graph meta tagsproperty instead of name for Open Graph meta tags
property instead of name for Open Graph meta tags
Summary
propertyattribute instead ofname, as required by the Open Graph protocolTest plan