middleman/fixtures/test-app/config.rb

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