Sha256: b025f8db792bedbe50d39ecbb161809dccadb384c7f86a5518a12b61ced12f7a
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
- content_for :page_title, site_title - content_for :ng_app, 'glyptotheque' - content_for :stylesheets, stylesheet_link_tag('glyptotheque') - current_section = current_page.metadata.locals[:section] - if current_section - content_for :body_class, "section-#{current_section[: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 => link_to site_title, '/' - if current_page.parent.url != '/' span.sep › =< link_to current_page.parent.metadata.locals.section.title, current_page.parent.url - if current_page.data.title h1.glypto-title = current_page.data.title - elsif current_page.metadata.locals[:section] h1.glypto-title = current_page.metadata.locals.section.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.15 | lib/middleman-sculptor/template/source/layouts/glyptotheque.slim |