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
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
As currently implemented, the plugin adds all properties to the root metadata object. So, for example, if the files foo.json and bar.yml were parsed, the metalsmith.metadata() would then have foo and bar properties containing the parsed metadata from the respective files.
It would be useful to provide an option for the app to specify a root property in which those parsed properties were added. For example, if the app specified that all parsed files be added to the '_data' property, the plugin would ensure that the _data property existed in the metadata object (possibly adding it if absent), and then add foo and bar properties to metalsmith.metadata()._data.