engine/lib/locomotive/liquid/tags/blueprint.rb

21 lines
702 B
Ruby
Raw Normal View History

module Locomotive
2010-06-03 15:32:40 +00:00
module Liquid
module Tags
class Blueprint < ::Liquid::Tag
def render(context)
%{
2010-06-03 15:32:40 +00:00
<link href="/stylesheets/admin/blueprint/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
<link href="/stylesheets/admin/blueprint/print.css" media="print" rel="stylesheet" type="text/css" />
<!--[if IE]>
2010-06-03 15:32:40 +00:00
<link href="/stylesheets/admin/blueprint/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
<![endif]-->
}
end
end
2010-06-03 15:32:40 +00:00
::Liquid::Template.register_tag('blueprint_stylesheets', Blueprint)
end
end
end