How can I add extra frontmatter to posts #202
-
I want to add extra frontmatter to posts e.g. the field price or subscriptionUrl. When I console.log in utils/blog.ts the new frontmatter does not seem to arrive. I am really stuck on this, how should I fix this? src/utlils/blog.ts When I console log data here the new frontmatter is not present.
|
Beta Was this translation helpful? Give feedback.
Answered by
christoph88
Jul 28, 2023
Replies: 1 comment
-
Looks like I forgot to edit content/config.ts, which fixed it. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
christoph88
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like I forgot to edit content/config.ts, which fixed it.