Less renderer for Hexo.
JavaScript
Switch branches/tags
Clone or download
Latest commit df40ea7 Jun 29, 2016

README.md

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