2010-05-30 23:57:33 +00:00
|
|
|
module Locomotive
|
2010-07-23 20:09:54 +00:00
|
|
|
module Liquid
|
|
|
|
module Tags
|
2010-05-30 23:57:33 +00:00
|
|
|
class Blueprint < ::Liquid::Tag
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-05-30 23:57:33 +00:00
|
|
|
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" />
|
2010-07-23 20:09:54 +00:00
|
|
|
<link href="/stylesheets/admin/blueprint/print.css" media="print" rel="stylesheet" type="text/css" />
|
|
|
|
<!--[if IE]>
|
|
|
|
<link href="/stylesheets/admin/blueprint/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
|
|
|
<![endif]-->
|
2010-05-30 23:57:33 +00:00
|
|
|
}
|
|
|
|
end
|
2010-07-23 20:09:54 +00:00
|
|
|
|
2010-05-30 23:57:33 +00:00
|
|
|
end
|
2010-07-23 20:09:54 +00:00
|
|
|
|
|
|
|
::Liquid::Template.register_tag('blueprint_stylesheets', Blueprint)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|