Sha256: fccc23011caf983d84615ae5a4c1950a3d8d3dc0e14e66757d16f05d011cea53

Contents?: true

Size: 978 Bytes

Versions: 1

Compression:

Stored size: 978 Bytes

Contents

- content_for :page_title,  page_title
- content_for :ng_app,      'glyptotheque'
- content_for :stylesheets, stylesheet_link_tag('/glyptotheque/styles/main')
- content_for :body_class,  "section-#{get_section_of_resource(current_page).slug}"
- content_for :javascripts,  javascript_include_tag('glyptotheque/scripts/glyptotheque.bundle')

= 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

1 entries across 1 versions & 1 rubygems

Version Path
middleman-sculptor-0.24 lib/middleman-sculptor/template/source/layouts/glyptotheque.slim