mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
e5e00471fe
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.
2 lines
No EOL
32 B
Text
2 lines
No EOL
32 B
Text
<h1>String Layout!</h1>
|
|
#{yield} |