<!DOCTYPE html> <html> <head> <%= render '_head' %> <script type="text/javascript"> jQuery(function() { // Enable light box $("a[rel^='prettyPhoto']").prettyPhoto({theme: "facebook"}); }); </script> </head> <body<%= %Q( class="#{@item[:body_class]}") if @item[:body_class] %>> <%= render '_header' %> <div id="content"> <%= yield %> </div> <%= render '_footer' %> </body> </html>