lib/orange-sparkles/templates/subpage.haml in orange-sparkles-0.5.9 vs lib/orange-sparkles/templates/subpage.haml in orange-sparkles-0.7.0
- old
+ new
@@ -1,14 +1,14 @@
!!! 5
%html{:lang => "en"}
%head
- %title= part[:page_title] +" - "+ orange[:sparkles].site_name(packet)
+ %title= part[:page_title] +" - "+ orange[:sparkles].site_name(packet, orange.options[:site_name])
%meta{:charset => "utf-8"}
%script{:src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"}
+ - orange[:sparkles].stylesheets.each{|css| add_css("#{css}.css") }
+ - orange[:sparkles].javascripts.each{|js| add_js("#{js}.js") }
= part[:css]
= part[:js]
- - orange[:sparkles].stylesheets.each{|css| add_css("#{css}.css") }
- - orange[:sparkles].javascripts.each{|js| add_js("#{css}.js") }
/[if lt IE 9]
%script{:src => "http://html5shiv.googlecode.com/svn/trunk/html5.js"}
%body#home
.container
%o:slice{:mode => "header"}
\ No newline at end of file