middleman/fixtures/test-app/config.rb

44 lines
728 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"
2011-05-22 17:27:39 +02:00
page "/inline-coffeescript.html"
page "/slim.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
%w{
/auto-css.html
/auto-css
/auto-css/
/auto-css/auto-css.html
/auto-css/sub/auto-css.html
}.each do |path|
get path do
haml :"auto-css.html", :layout => false
end
2009-11-03 21:49:54 +01:00
end
%w{
/auto-js.html
/auto-js
/auto-js/
/auto-js/auto-js.html
/auto-js/sub/auto-js.html
}.each do |path|
get path do
haml :"auto-js.html", :layout => false
end
2009-11-03 21:49:54 +01:00
end