1.0.1 • Published 9 years ago
wintersmith-raw v1.0.1
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.