[Compass Internals] Don't emit a stylesheet link to partials when printing the installation results.
This commit is contained in:
parent
b84dd3031b
commit
6348ea3e67
@ -127,6 +127,8 @@ module Compass
|
|||||||
def stylesheet_links
|
def stylesheet_links
|
||||||
html = "<head>\n"
|
html = "<head>\n"
|
||||||
manifest.each_stylesheet do |stylesheet|
|
manifest.each_stylesheet do |stylesheet|
|
||||||
|
# Skip partials.
|
||||||
|
next if File.basename(stylesheet.from)[0..0] == "_"
|
||||||
media = if stylesheet.options[:media]
|
media = if stylesheet.options[:media]
|
||||||
%Q{ media="#{stylesheet.options[:media]}"}
|
%Q{ media="#{stylesheet.options[:media]}"}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user