Sha256: 22b42425f462cfdaaf3794f12490d0fbd4e9fb7a6164db8139640d6b4aef9ffa

Contents?: true

Size: 1.01 KB

Versions: 5

Compression:

Stored size: 1.01 KB

Contents

doctype html
html
  head
    meta charset='utf-8'
    title
      - current_section = current_page.metadata.locals[:section]
      - if current_section
        => current_section.title
      - else
        => current_page.data.title || yield_content(:page_title) || resource_file(current_page)
      - if current_page.data.title || current_section
        | › #{site_title}
    meta name='viewport' content='width=device-width'
    = yield_content :stylesheets
    - if current_resource.metadata.options.iframe
      = include_stylesheets(current_page.data.stylesheets || current_page.data.stylesheet)

  body class="#{yield_content(:body_class)}"
    - id = current_resource.metadata.options.id
    - current_model = current_resource.metadata.models[id]

    = current_model.html

    = javascript_include_tag  'iframe-js'
    = yield_content :javascripts
    - if current_resource.metadata.options.iframe
      = include_javascripts(current_page.data.javascripts || current_page.data.javascript)
    = yield_content :post_body

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
middleman-sculptor-0.16 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.15 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.14 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.13 lib/middleman-sculptor/template/source/layouts/isolated.slim
middleman-sculptor-0.12 lib/middleman-sculptor/template/source/layouts/isolated.slim