Sha256: aae7ab138ce3797b46aad1997432e4c3d59bfa82d41fc898f30268aada6c7cc3

Contents?: true

Size: 869 Bytes

Versions: 7

Compression:

Stored size: 869 Bytes

Contents

- content_for :page_title,  page_title
- content_for :ng_app,      'glyptotheque'
- content_for :stylesheets, stylesheet_link_tag('glyptotheque')
- content_for :body_class,  "section-#{get_section_of_resource(current_page).slug}"

= wrap_layout :layout do
  - if resource_tree('/').any?
    = partial 'glyptotheque/nav'

  main.glyptotheque
    header.glypto-header
      .glypto-container
        - if current_page.parent
          .glypto-breadcrumbs = breadcrumbs

        - if current_page.data.title
          h1.glypto-title = current_page.data.title || getcurrent_page
        - elsif get_section_of_resource(current_page)
          h1.glypto-title = get_section_of_resource(current_page).title
    .glypto-container = yield

  javascript:
    APP_CONTEXT = {
      sitemap: #{partial 'glyptotheque/sitemap.json'},
      current_url: "#{current_page.url}"
    }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
middleman-sculptor-0.23 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.22 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.21 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.20 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.19 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.18 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim
middleman-sculptor-0.17 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim