manifest.json is not being output #44
|
I have some files in the root of |
Replies: 1 comment 1 reply
|
The underlying reason is that JSON files in Statiq Web are treated as data files and processed by the data pipeline by default. This page has more information on which files are processed by which pipeline and how to adjust the behavior on a per-file or whole folder basis. Specifically, the easiest way to treat a single JSON file as an asset and copy it instead of process it is to add a sidecar file (which acts like front matter but can be specified outside the target file) that sets In your case: ContentType: Asset |
The underlying reason is that JSON files in Statiq Web are treated as data files and processed by the data pipeline by default. This page has more information on which files are processed by which pipeline and how to adjust the behavior on a per-file or whole folder basis.
Specifically, the easiest way to treat a single JSON file as an asset and copy it instead of process it is to add a sidecar file (which acts like front matter but can be specified outside the target file) that sets
ContentTypetoAssetfor the JSON file.In your case:
_manifest.yml: