X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a8db515f13d56c29ec5613365defffabaee1808c..a569343e0158ccb23e9329b9a2c856da6beb729b:/app/views/layouts/_banner.html.erb diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index f806201eb..4f24f538d 100644 --- a/app/views/layouts/_banner.html.erb +++ b/app/views/layouts/_banner.html.erb @@ -1,4 +1,4 @@ <% unless (banner = next_banner()).nil? %> -<%= link_to (image_tag banner[:img], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> - +<%= link_to (image_tag banner[:img], :srcset => banner[:srcset], :alt => banner[:alt], :title => banner[:alt]), banner[:link] %> + <% end %>