less

Build CSS out of LESS sources

To install, run nikola plugin -i less

Compile LESS source files into CSS.

To use this plugin:

Create a less folder in your theme, put your .less files there, add a less/targets file listing the files you want compiled.

Note: in some cases, you might have to run nikola build twice.

Suggested Configuration:

# Compiler to process LESS files.
LESS_COMPILER = 'lessc'

# A list of options to pass to the LESS compiler.
# Final command is: LESS_COMPILER LESS_OPTIONS file.less
LESS_OPTIONS = []

Requirements:

  • LESS (Third-Party software)

Issues? Questions?

You can report issues with this plugin and request help via GitHub Issues.