Sha256: a4198cd7537dad1c7289f1476f1c369defa346b82113ddb079b8576e9c7a3d27

Contents?: true

Size: 1.25 KB

Versions: 8

Compression:

Stored size: 1.25 KB

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)}"
    javascript:
      // If necessary insert a placeholder before the real menu is created
      if(!store.get('glypto-menu-hidden')) {
        var e = document.createElement('div');
        e.id = 'glypto-nav-placeholder';
        document.body.insertBefore(e, document.body.childNodes[0]);
      }

    = yield

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sculptor-0.0.10 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.9.3 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.9.2 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.9.1 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.9 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.8 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.7 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim
sculptor-0.0.6 lib/sculptor/templates/glyptotheque/source/layouts/layout.slim