Is there a way to have one of frontmatter values be in pageTree? #498
-
Beta Was this translation helpful? Give feedback.
Answered by
fuma-nama
Jun 20, 2024
Replies: 2 comments 2 replies
-
This can be done with: You can log the file data and see what properties it has, it should contain the frontmatter info. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kyrylolvov
-
Will leave this here, maybe someone will get into same problem, you also need to update schema of frontmatter for source
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be done with:
https://fumadocs.vercel.app/docs/headless/source-api#attach-custom-properties
You can log the file data and see what properties it has, it should contain the frontmatter info.