Convert to Use LESS


#1

Hello Jekyll Community!

A couple of years ago, I built my portfolio site using Bootstrap LESS. How can I convert Jekyll to use LESS instead of SCSS or SASS?


#2

You have a few options.

  1. Use a plugin like https://github.com/zroger/jekyll-less
  2. Use a GUI tool to preprocess (e.g. Prepros) your .less files into .css that Jekyll can use.
  3. Use a task runner like Gulp or Grunt to preprocess your .less files into .css
  4. Migrate to a newer version of Bootstrap. 4+ switched to Sass, which Jekyll has native support for.