Move block run
This commit is contained in:
parent
8daa5eba3e
commit
c213bd19df
14 changed files with 161 additions and 150 deletions
|
@ -4,12 +4,11 @@ module Middleman
|
|||
module Renderers
|
||||
# Sass renderer
|
||||
class Less < ::Middleman::Extension
|
||||
define_setting :less, {}, 'LESS compiler options'
|
||||
|
||||
def initialize(app, options={}, &block)
|
||||
super
|
||||
|
||||
# Default less options
|
||||
app.config.define_setting :less, {}, 'LESS compiler options'
|
||||
|
||||
# Tell Tilt to use it as well (for inline sass blocks)
|
||||
::Tilt.register 'less', LocalLoadingLessTemplate
|
||||
::Tilt.prefer(LocalLoadingLessTemplate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue