X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/bb868e0b11b25eb000a2c71cc993db86e383e0f3..e2cb2327f9e5a3a107dbe249e4fe503cbde45d24:/app/views/layouts/_banner.html.erb diff --git a/app/views/layouts/_banner.html.erb b/app/views/layouts/_banner.html.erb index 2751a5458..c7cc75c49 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 %>