Sha256: 3bb393a18bbee0ae78b00f4fefd273389ad85d8372c83910cda5e7a0f5d437b4

Contents?: true

Size: 1000 Bytes

Versions: 2

Compression:

Stored size: 1000 Bytes

Contents

- 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-sculptor-0.25 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.24 lib/middleman-sculptor/template/source/layouts/isolated.slim