Sha256: 21db9d5a8d8a9b744e18197583ba3495131f73f948112752f19567bf411efbd5

Contents?: true

Size: 604 Bytes

Versions: 3

Compression:

Stored size: 604 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

3 entries across 3 versions & 1 rubygems

Version Path
servel-0.8.0 lib/servel/templates/index.haml
servel-0.7.0 lib/servel/templates/index.haml
servel-0.6.0 lib/servel/templates/index.haml