/hexo-renderer-less

Less renderer for Hexo.

Primary LanguageJavaScriptMIT LicenseMIT

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