fix issue with in-template sass filters
This commit is contained in:
parent
baef07f7cf
commit
c38d542a4a
1 changed files with 2 additions and 0 deletions
|
@ -38,6 +38,8 @@ end
|
|||
|
||||
class Tilt::SassPlusCSSFilenameTemplate < Tilt::SassTemplate
|
||||
def sass_options
|
||||
return super if basename.nil?
|
||||
|
||||
location_of_sass_file = Middleman::Server.environment == :build ?
|
||||
File.join(Middleman::Server.root, Middleman::Server.build_dir) :
|
||||
Middleman::Server.public
|
||||
|
|
Loading…
Reference in a new issue