lib/servel/templates/index.haml in servel-0.13.0 vs lib/servel/templates/index.haml in servel-0.14.0
- old
+ new
@@ -16,8 +16,8 @@
#{include('js/url-search-params.js')}
#{include('js/listing.js')}
#{include('js/ume.js')}
#{include('js/gallery.js')}
%body
- - if files.any? { |f| f.media? }
+ - if entries.any? { |f| f.media? }
#gallery!= partial('gallery')
- #listing!= partial('listing', { url_root: url_root, url_path: url_path, directories: directories, files: files, sort: sort })
+ #listing!= partial('listing', { url_root: url_root, url_path: url_path, entries: entries, sort: sort })
\ No newline at end of file