This is a less converter plugin for Jekyll.
It offers you an easy converter for .less files in your Jekyll project folder and converts them all into comporessed .css files.
You need two Gems to use the converter, therubyracer
and less
. Add them to your projects Gemfile
or install them manualy by hand
Gemfile:
gem 'therubyracer'
gem 'less'
Run bundler:
bundle install
By hand:
gem install therubyracer && gem install less
Place less_converter.rb
under [your_page]/_plugins
directory.
Place your .less files somewhere in your Jekyll project, e.g. under [your_page]/css/style.less
.
Then run and start your Jekyll server with jekyll serve
Now you can find your compressed and converted less files under [your_page]/_site/css/style.css
See LICENSE
file
Copyright © 2013 Florian Nitschmann