Sha256: 9db219bb2be95f6abd19a390a18dfa7043872c5ef113f32f1e5cb6b7e5c2ed1a

Contents?: true

Size: 984 Bytes

Versions: 2

Compression:

Stored size: 984 Bytes

Contents

doctype html
html ng-app=(yield_content(:ng_app))
  head
    meta charset='utf-8'
    title = current_page.data.title || yield_content(:page_title) || resource_file(current_page)
    meta name='viewport' content='width=device-width'
    = stylesheet_link_tag 'main'
    = stylesheet_link_tag '//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css'
    = yield_content :stylesheets
    = javascript_include_tag 'head-js'
    javascript:
      function resizeIframe(obj) {
        var doc = obj.contentDocument;
        var height = Math.max(
            doc.body.scrollHeight, doc.documentElement.scrollHeight,
            doc.body.offsetHeight, doc.documentElement.offsetHeight,
            doc.body.clientHeight, doc.documentElement.clientHeight
        );
        obj.style.height = height + 'px';
      }

  body class="#{yield_content(:body_class)}"

    = yield

    = yield_content :javascripts
    = javascript_include_tag  'app'
    = yield_content :post_body

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sculptor-0.0.11.1 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.11 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim