lib/mango/templates/themes/default/views/layout.haml in mango-0.5.4 vs lib/mango/templates/themes/default/views/layout.haml in mango-0.6.0
- old
+ new
@@ -1,16 +1,16 @@
!!! 5
%html
%head
%meta{ :charset => "utf-8" }
- %title= "Mango: #{@content_page.title}"
+ %title= "Mango: #{page.title}"
%link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "http://fonts.googleapis.com/css?family=Lobster" }
- %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/styles/reset.css" }
- %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/styles/screen.css" }
- %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/styles/fireworks.css" }
+ %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/stylesheets/reset.css" }
+ %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/stylesheets/screen.css" }
+ %link{ :rel => "stylesheet", :type => "text/css", :media => "screen", :href => "/stylesheets/fireworks.css" }
%script{ :type => "text/javascript", :src => "/javascripts/fireworks.js"}
%script{ :type => "text/javascript", :src => "/javascripts/timer.js"}
- %body{ :onload => "fire();" }
+ %body
%div#fireworks-template
%div#fw.firework
%div#fp.fireworkParticle
%img{ :src => "/images/particles.gif" }