[Compass Internals] Don't emit a stylesheet link to partials when printing the installation results.

This commit is contained in:
Chris Eppstein 2009-06-21 02:24:39 -07:00
parent b84dd3031b
commit 6348ea3e67

View File

@ -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