Sha256: ce05f0fa1ace3fea8e4c893a9139cae12fa4349245b96d87b5d913d25db6408a

Contents?: true

Size: 377 Bytes

Versions: 3

Compression:

Stored size: 377 Bytes

Contents

- if resources_for('/').empty?
  h1 Site is empty, create some pages
- else
  - if main_sections.any?
    ul.glypto-section-list
      - main_sections.each do |r|
        li.glypto-section-list-item
          = link_to r.path
            h2.glypto-section-name = get_section_of_resource(r).title
            .glypto-section-meta = pluralize(resources_for(r.url).count, 'item')

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
middleman-sculptor-0.20 lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim
middleman-sculptor-0.19 lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim
middleman-sculptor-0.18 lib/middleman-sculptor/template/source/glyptotheque/site-index.html.slim