wintersmith-asis

0.1.7 • Public • Published

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-asis

Then 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"
  ]
}

Package Sidebar

Install

npm i wintersmith-asis

Weekly Downloads

7

Version

0.1.7

License

MIT

Last publish

Collaborators

  • luckyrandom