sinatra/test/views
Konstantin Haase e5e00471fe Skip implicit layouts for nested templates.
That way the following will produce valid HTML:

@@ layout
!!!
= yield

@@ content
%html
  %head= haml :head
  %body= haml :body

That way using render methods for partials is a lot easier.
Tests included.
2010-09-27 13:25:10 +02:00
..
foo Add a test for the :views render option 2009-05-23 17:02:25 +02:00
ascii.haml Better handling of encodings in Ruby 1.9, defaults to UTF-8. Fixes GH #27, GH #38 and params issue that came up in IRC. 2010-09-07 09:43:31 +02:00
error.builder template backtraces ftw [#198] [#51] 2009-04-25 05:16:14 -07:00
error.erb template backtraces ftw [#198] [#51] 2009-04-25 05:16:14 -07:00
error.erubis ERubis support in to sinatra. With tests! 2009-10-18 01:04:54 +02:00
error.haml template backtraces ftw [#198] [#51] 2009-04-25 05:16:14 -07:00
error.sass template backtraces ftw [#198] [#51] 2009-04-25 05:16:14 -07:00
explicitly_nested.str Skip implicit layouts for nested templates. 2010-09-27 13:25:10 +02:00
hello.builder I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
hello.coffee Add coffee helper method. Tilt supports CoffeeScript again, but it was not as easy to use as sass or scss, and not documented. Tests and documentation (English and German) included. 2010-09-12 23:09:10 +02:00
hello.erb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
hello.erubis ERubis support in to sinatra. With tests! 2009-10-18 01:04:54 +02:00
hello.haml I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
hello.less Added Less support 2010-03-01 16:04:44 -08:00
hello.liquid Add liquid helper method. Tilt supports liquid for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 13:54:01 +02:00
hello.mab Add markaby helper method. Tilt supports Markaby for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 17:00:33 +02:00
hello.md Add markdown helper method. Tilt supports markdown for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 14:35:29 +02:00
hello.radius Add radius helper method. Tilt supports radius for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 15:14:45 +02:00
hello.rdoc Add rdoc helper method. Tilt supports RDoc for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 13:59:00 +02:00
hello.sass fix test for haml 3 2010-05-12 07:11:37 +02:00
hello.scss Adding scss support through specific command 2010-09-01 11:31:46 +02:00
hello.str Skip implicit layouts for nested templates. 2010-09-27 13:25:10 +02:00
hello.test I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
hello.textile Add textile helper method. Tilt supports textile for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 14:53:04 +02:00
layout2.builder I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
layout2.erb I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
layout2.erubis ERubis support in to sinatra. With tests! 2009-10-18 01:04:54 +02:00
layout2.haml I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
layout2.liquid Add liquid helper method. Tilt supports liquid for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-11 13:54:01 +02:00
layout2.mab Add markaby helper method. Tilt supports Markaby for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 17:00:33 +02:00
layout2.radius Add radius helper method. Tilt supports radius for quite some time now, but it was not as easy to use as haml or erb, and not documented. Tests and documentation (English and German) included. 2010-09-12 15:14:45 +02:00
layout2.str Skip implicit layouts for nested templates. 2010-09-27 13:25:10 +02:00
layout2.test I knew I shoulda taken that left turn at Hoboken 2008-12-20 18:45:28 -08:00
nested.str Skip implicit layouts for nested templates. 2010-09-27 13:25:10 +02:00
utf8.haml Proper encoding test. 2010-09-10 18:21:30 +02:00