You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
With 11ty we are able to create a json file at directory level and in that apply frontmatter data to all files in that directory.
FM is not recognising these. For example when I apply the type front matter to a blog post in my blog folder
Describe the solution you'd like
For FM to recognise there is a directory level json file with frontmatter in it and utilise it. Perhaps add that in a way that it is not editable on each post but is used in the Front Matter data (because changing it in a post would cause issues - do you change all of them or just this one - in which case that need to add it to the post front matter and then there woudl be clash - so info and FM front end use only - sorting and filtering etc.)
Describe alternatives you've considered
Duplication of the frontmatter into the .md files which would mean going back through all files and adding it in FM - bit laborious!
Is your feature request related to a problem? Please describe.
With 11ty we are able to create a json file at directory level and in that apply frontmatter data to all files in that directory.
FM is not recognising these. For example when I apply the type front matter to a blog post in my blog folder
Describe the solution you'd like
For FM to recognise there is a directory level json file with frontmatter in it and utilise it. Perhaps add that in a way that it is not editable on each post but is used in the Front Matter data (because changing it in a post would cause issues - do you change all of them or just this one - in which case that need to add it to the post front matter and then there woudl be clash - so info and FM front end use only - sorting and filtering etc.)
Describe alternatives you've considered
Duplication of the frontmatter into the .md files which would mean going back through all files and adding it in FM - bit laborious!
Additional context
11ty is very flexible and I appreciate that FM can actually work with it!
More details here: https://www.11ty.dev/docs/data-template-dir/
The text was updated successfully, but these errors were encountered: