1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
sinatra/test/views/hello.str
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

1 line
No EOL
26 B
Text

<h1>Hello From String</h1>