- id = current_resource.metadata.options.id - current_model = current_resource.metadata.models[id] doctype html html head meta charset='utf-8' title = page_title meta name='viewport' content='width=device-width' - if current_model[:stylesheet] = include_stylesheets(current_model[:stylesheet]) - else = yield_content :stylesheets - if current_resource.metadata.options.iframe = include_stylesheets(current_page.data.stylesheets || current_page.data.stylesheet) - if current_resource.data.isolation_styles style = current_resource.data.isolation_styles body class="#{yield_content(:body_class)}" = current_model.html = javascript_include_tag 'glyptotheque/scripts/iframe-content-window.bundle' = yield_content :javascripts - if current_resource.metadata.options.iframe = include_javascripts(current_model[:javascript] || current_page.data.javascripts || current_page.data.javascript) = yield_content :post_body