Sha256: 6354f2deeaa334d53689059419ad91b4d43fff065ef9b5b6b7d973afd09309a5
Contents?: true
Size: 916 Bytes
Versions: 1
Compression:
Stored size: 916 Bytes
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 = partial 'glyptotheque/breadcrumbs' - 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.16 | lib/middleman-sculptor/template/source/layouts/glyptotheque.slim |