[V2] Custom frontmatter/metadata is no longer available
See original GitHub issue🐛 Bug Report
Custom frontmatter/metadata defined in markdown files is no longer accessible within the DocItem component when it previously was.
It appears this change broke the behavior.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
- Add a custom frontmatter field in a blog post or documentation markdown file.
- The property is no longer available in this object.
Expected behavior
Frontmatter, by nature, should allow for a variety of keys, especially a platform designed to serve a variety of different project types.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Front matter metadata nested fields are no longer visible in ...
Meaning: all front matter fields are visible (and links are clickable as well). Actual result. publications 2-level “object” field is not shown ...
Read more >Settings - Front Matter CMS
frontMatter. Specify the name of the metadata field that will be used to show the tags on the content card. When empty or...
Read more >Frontmatter - Dendron
Frontmatter is a collection of custom attributes at the top of ... the note is created and it is used to store metadata...
Read more >MKdocs not taking the meta-data (frontmatter) into ...
I want the search to look into the meta title, subtitle, and the tags to find the result and then consider H1, H2......
Read more >Frontmatter - MDX
This guide explores how to support YAML frontmatter in MDX. MDX supports standard markdown syntax (CommonMark). That means frontmatter is not ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@binarylogic We would discourage swizzling components at this point until we reach beta or even 2.0.0 for this very reason. Apologies for the changes.
Thanks, I must have been using an older version of
DocItem/index.jsbecause thefrontMatterdefinition was not included.