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
to read metadata from a file or a directory of files in which each filename maps to a metadata key.
This is an important step in making metalsmith headless-cms-friendly, in that global metadata can then be edited via a web interface (if desired). It resolves to metalsmith.directory so that users who may prefer not adding the metalsmith config to the source folder for processing can store it somewhere else
If the current setter is { ...oldMeta, ...newMeta } the new setter is { ...oldMeta, ...(fileSystemAdapter(newMetaLookup))}
The text was updated successfully, but these errors were encountered:
Another plugin already has a similar feature (need to look up which).
The proposal is to add a signature
to read metadata from a file or a directory of files in which each filename maps to a metadata key.
This is an important step in making metalsmith headless-cms-friendly, in that global metadata can then be edited via a web interface (if desired). It resolves to
metalsmith.directory
so that users who may prefer not adding the metalsmith config to the source folder for processing can store it somewhere elseIf the current setter is
{ ...oldMeta, ...newMeta }
the new setter is{ ...oldMeta, ...(fileSystemAdapter(newMetaLookup))}
The text was updated successfully, but these errors were encountered: