Sha256: 0e5e8a56b31607b02190aad5456d5f2304aa749607e5ac36ca0e3b60419e592b

Contents?: true

Size: 622 Bytes

Versions: 1

Compression:

Stored size: 622 Bytes

Contents

!!!
%html
  %head
    %meta{charset: 'utf-8'}
    %title Listing of #{url_root}#{url_path}
    %meta{name: 'viewport', content: 'width=device-width, height=device-height, user-scalable=no'}
    :css
      #{include('normalize.css')}
      #{include('common.css')}
      #{include('index.css')}
      #{include('listing.css')}
      #{include('gallery.css')}

    :javascript
      #{include('gallery.js')}
  %body
    - if files.any? { |f| f.media? }
      #gallery!= partial('gallery')
    #listing!= partial('listing', { url_root: url_root, url_path: url_path, directories: directories, files: files })

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
servel-0.9.0 lib/servel/templates/index.haml