Switch over to new config methods

This commit is contained in:
Ben Hollis 2012-10-13 19:54:55 -07:00
parent 781fa1c65f
commit a50ca56fbc
22 changed files with 119 additions and 115 deletions

View file

@ -11,8 +11,8 @@ module Middleman
# Once registered
def registered(app)
# Default sass options
app.set :less, {}
# Default less options
app.config.define_setting :less, {}, 'LESS compiler options'
app.before_configuration do
template_extensions :less => :css