middleman/spec/fixtures/sample/init.rb

28 lines
549 B
Ruby
Raw Normal View History

2009-11-30 20:32:02 +01:00
with_layout false do
page "/inline-css.html"
page "/inline-js.html"
2009-11-03 21:49:54 +01:00
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
2009-11-03 21:34:57 +01:00
end