Skip to content
Discussion options

You must be logged in to vote

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 ContentType to Asset for the JSON file.

In your case: _manifest.yml:

ContentType: Asset

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@JoshClose
Comment options

Answer selected by JoshClose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants