0.1.7 • Published 11 years ago
wintersmith-asis v0.1.7
wintersmith-asis
wintersmith-asis is a plugin for
wintersmith to include
file as is.
wintersmith-asis
registers to *.asis and _asis_.* files, and passes the files as is
to the url with the suffix or prefix removed. For example, you can add
data.json to website by including file _asis_.data.json in content
directory.
install:
Install with command
npm install [-g] wintersmith-asisThen add wintersmith-asis to the end of plugins of config.json.
{
"locals": {
"url": "http://localhost:8080",
"name": "The Wintersmith's blog",
"owner": "The Wintersmith",
"description": "-32°C ain't no problems!",
"index_articles": 3
},
"plugins": [
"some_other_plugins",
"wintersmith-asis"
]
}