node package manager
Easy collaboration. Discover, share, and reuse code in your team. Create a free org »

hexo-renderer-less

Less renderer

Add support for Less.

Install

$ npm install hexo-renderer-less --save

Configure

You can specify a less include paths as an array config in your theme configuration.

// themes/yourtheme/_config.yml
 
less:
  paths:
    - bower_components/bootstrap/less

You can compress the output of the css with a config in your theme configuration.

// themes/yourtheme/_config.yml
 
less:
  compress: true