middleman/spec/fixtures/sample/init.rb
2009-12-29 21:00:16 -08:00

28 lines
549 B
Ruby

with_layout false do
page "/inline-css.html"
page "/inline-js.html"
end
get "/page-class.html" do
haml :"page-classes.html", :layout => false
end
get "/sub1/page-class.html" do
haml :"page-classes.html", :layout => false
end
get "/sub1/sub2/page-class.html" do
haml :"page-classes.html", :layout => false
end
get "/auto-css.html" do
haml :"auto-css.html", :layout => false
end
get "/sub1/auto-css.html" do
haml :"auto-css.html", :layout => false
end
get "/sub1/sub2/auto-css.html" do
haml :"auto-css.html", :layout => false
end