wintersmith-raw
v1.0.1
Published
A wintersmith plugin to keep files raw.
Downloads
36
Readme
wintersmith-raw
Wintersmith plugin for keeping files as-is, instead of creating html pages or doing other kinds of processing.
Installing
Install globally or locally using npm
npm install [-g] wintersmith-raw
and add wintersmith-raw
to your config.json
{
"plugins": [
"wintersmith-raw"
]
}
or
{
"plugins": [
"wintersmith-raw/plugin.coffee"
]
}
Configuration
In your config files you must define your raw paths like this:
{
"raw": [
"path/to/**/*.json"
]
}
You can use the standard globbing patters. All raw files will be part of your content tree so you can access them as usual. JSON files have metadata property as normal.