Sha256: 41125b68f1ded7f0166c13564192bd86c9f66aef3c89d7ea5a8ec9f2712a0e4f
Contents?: true
Size: 929 Bytes
Versions: 25
Compression:
Stored size: 929 Bytes
Contents
<%= cache @entry do %> <% page_media_breakpoints.each do |style, condition| %> <%= media_query(condition) do %> <% @entry.image_files.each do |image_file| %> <%= background_image_lazy_loading_css_class('image', image_file) %> { background-image: url('<%= image_file.attachment.url(style) %>'); } <%= background_image_lazy_loading_css_class('image_panorama', image_file) %> { background-image: url('<%= image_file.attachment.url("panorama_#{style}") %>'); } <% end %> <% @entry.video_files.each do |video_file| %> <%= background_image_lazy_loading_css_class('video_poster', video_file) %> { background-image: url('<%= video_file.poster.url(style) %>'); } <% end %> <% end %> <% end %> <%= file_thumbnails_css(@entry) %> <%= render 'pageflow/entries/theming' %> <% end %>
Version data entries
25 entries across 25 versions & 1 rubygems