Skip to content

lakenen/hexo-processor-static

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

hexo-processor-static

Copies files from one folder to another without converting them to HTML files. This allows you to keep files at the destination in the original markdown format.

Installation

$ npm install hexo-processor-static --save

Configuration

Add the following snippet in _config.yml.

Minimal config to enable filters for HTML, CSS, Js and images.

copy_src: "_static" // name of the directory you want to copy from _static by default
copy_dst: "" //name of the directory you want to copy the files to '' by default
  • copy_src - Name of the directory you want to copy from _static by default
  • copy_dst - Name of the directory you want to copy the files to '' by default, which places the files in the root output directory

License

MIT

About

Hexo plugin for copying static files from source/_static to public

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published