Sha256: d070e1875c786e420dfea2d1046a4506e133af2e579c87d2cc45cc12bf4b22e7

Contents?: true

Size: 960 Bytes

Versions: 3

Compression:

Stored size: 960 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  'iframe-js'
    = 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

3 entries across 3 versions & 1 rubygems

Version Path
middleman-sculptor-0.23 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.22 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.21 lib/middleman-sculptor/template/source/layouts/isolated.slim