Sha256: 9e9b73ef01e6bfa139680ca952bbcc960664bee538ae3f3c70a35900e37c5a0f

Contents?: true

Size: 635 Bytes

Versions: 2

Compression:

Stored size: 635 Bytes

Contents

- unless current_page.data.title
  - if current_page.metadata.locals[:name]
    h1.glypto-title = current_page.metadata.locals.name

- resources_for(current_page.url, exclude_indexes: true, sort_by: :nav_order).each do |r|

  - current_page.add_metadata({ page: { \
      title: r.data.title,
      description: r.data.description,
      local_url: r.url,
      stylesheets: r.data.stylesheet || r.data.stylesheets,
      javascripts: r.data.javascript || r.data.javascripts,
      iframe: r.metadata.page[:iframe] \
    } })

  .glypto-section
    h2.glypto-title = link_to r.data.title, r.url
    = partial r.url.sub(/\/$/, '.html')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-sculptor-0.10 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.9 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim