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.
1 line
No EOL
62 B
Text
1 line
No EOL
62 B
Text
<content>#{render :str, :hello, :layout => :layout2}</content> |