Skip to content

luckyrandom/wintersmith-asis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Content plugin for Wintersmith to include files asis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published