Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 862 Bytes

readme.md

File metadata and controls

37 lines (30 loc) · 862 Bytes

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