Sha256: 4f1098776979bc9c5350081cb9a049f5be9a8c3a8885e4e9c653ec2786e3c1ca

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 Bytes

Contents

- 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

6 entries across 6 versions & 1 rubygems

Version Path
middleman-sculptor-0.8 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.7 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.6 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.5 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.4 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim
middleman-sculptor-0.3 lib/middleman-sculptor/template/source/glyptotheque/directory-index.html.slim