diff --git a/lib/middleman/renderers/sass.rb b/lib/middleman/renderers/sass.rb index 75e40956..4d183948 100644 --- a/lib/middleman/renderers/sass.rb +++ b/lib/middleman/renderers/sass.rb @@ -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