Sha256: 750b53464c70e83d503ffca463e07aa66bfafbe85518074a93ebd619d512ff9c
Contents?: true
Size: 1.31 KB
Versions: 6
Compression:
Stored size: 1.31 KB
Contents
<%= cache @entry do %> <% page_media_breakpoints.each do |style, condition| %> <%= media_query(condition) do %> <% @entry.image_files.each do |image_file| %> .load_images .image_<%= image_file.id %> { background-image: url('<%= image_file.attachment.url(style) %>'); } <% end %> <% @entry.video_files.each do |video_file| %> .load_images .video_poster_<%= video_file.id %> { background-image: url('<%= video_file.poster.url(style) %>'); } <% end %> <% end %> <% end %> <% @entry.image_files.each do |image_file| %> .image_file_link_thumbnail_<%= image_file.id %> { background-image: url('<%= image_file.attachment.url(:link_thumbnail) %>'); } .image_file_link_thumbnail_large_<%= image_file.id %> { background-image: url('<%= image_file.attachment.url(:link_thumbnail_large) %>'); } <% end %> <% @entry.video_files.each do |video_file| %> .video_file_link_thumbnail_<%= video_file.id %> { background-image: url('<%= video_file.poster.url(:link_thumbnail) %>'); } .video_file_link_thumbnail_large_<%= video_file.id %> { background-image: url('<%= video_file.poster.url(:link_thumbnail_large) %>'); } <% end %> <% end %>
Version data entries
6 entries across 6 versions & 1 rubygems