kidsil / hexo-renderer-less

Less renderer for Hexo.

Home Page:http://zespia.tw/hexo/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Less renderer for Hexo.

http://zespia.tw/hexo/

License:MIT License


Languages

Language:JavaScript 100.0%