Sha256: 8112e7ebca3de4e2cc4e20fdb804d934f288d9a1dd09b066f72b4227619a3518

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

!!!
%html
  %head
    %meta{charset: 'utf-8'}
    %title Listing of #{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.decorate.media? }
      #gallery!= partial('gallery')
    #listing!= partial('listing', { url_path: url_path, directories: directories, files: files })

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
servel-0.4.0 lib/servel/templates/index.haml
servel-0.3.0 lib/servel/templates/index.haml