Correctly convert scss files to css names in the installatio instructions.
This commit is contained in:
parent
13ecaa2da6
commit
58740fc039
@ -163,7 +163,7 @@ NEXTSTEPS
|
||||
manifest.each_stylesheet do |stylesheet|
|
||||
# Skip partials.
|
||||
next if File.basename(stylesheet.from)[0..0] == "_"
|
||||
ss_line = "<%= stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.sass$/,'.css')}'"
|
||||
ss_line = "<%= stylesheet_link_tag '#{stylesheet_prefix}#{stylesheet.to.sub(/\.s[ac]ss$/,'.css')}'"
|
||||
if stylesheet.options[:media]
|
||||
ss_line += ", :media => '#{stylesheet.options[:media]}'"
|
||||
end
|
||||
|
@ -48,7 +48,7 @@ module Compass
|
||||
media = if stylesheet.options[:media]
|
||||
%Q{ media="#{stylesheet.options[:media]}"}
|
||||
end
|
||||
ss_line = %Q{ <link href="#{http_stylesheets_path}/#{stylesheet.to.sub(/\.sass$/,'.css')}"#{media} rel="stylesheet" type="text/css" />}
|
||||
ss_line = %Q{ <link href="#{http_stylesheets_path}/#{stylesheet.to.sub(/\.s[ac]ss$/,'.css')}"#{media} rel="stylesheet" type="text/css" />}
|
||||
if stylesheet.options[:condition]
|
||||
ss_line = " <!--[if #{stylesheet.options[:condition]}]>\n #{ss_line}\n <![endif]-->"
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user